Fetches the carrier measurement.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int FetchCarrierMeasurement(string selectorString, double timeout, out double carrierFrequency, out double carrierPower)

Parameters

NameTypeDescription
selectorStringstring

Specifies a selector string comprising of the result name. If you do not specify the result name, the default result instance is used. 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.

carrierFrequencyout double

Upon return, contains the measured carrier power. This value is expressed in Hz.

carrierPowerout double

Upon return, contains the measured carrier frequency. This value is expressed in dBm.

Returns

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