Fetches the mean power and peak power for the CCDF measurement.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int FetchPower(string selectorString, double timeout, out double meanPower, out double meanPowerPercentile, out double peakPower, out int measuredSamplesCount)

Remarks

This method maps to the RFmxSpecAn_CCDFFetchPower() function in C.

Parameters

NameTypeDescription
selectorStringstring

Specifies the result name. Example: "", "result::r1". You can use the BuildResultString(string) method to build the selector string.

timeoutdouble

Specifies the timeout, in seconds, for fetching the specified measurement. Set this value to an appropriate time longer than expected for fetching the measurement. A value of -1 specifies that the method waits until the measurement is complete.

meanPowerout double

Upon return, contains the average power, in dBm, of all the samples. If you set the SetThresholdEnabled(string, RFmxSpecAnMXCcdfThresholdEnabled) method to True, samples above the threshold are measured.

meanPowerPercentileout double

Upon return, contains the percentage of samples that have more power than the mean power.

peakPowerout double

Upon return, contains the peak power of the acquired signal, relative to the mean power.

measuredSamplesCountout int

Upon return, contains the total number of samples measured.

Returns

Returns the status code of this method. The status code either indicates success or describes an error or warning condition.