Fetches the carrier measurement.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int FetchCarrierMeasurement(string selectorString, double timeout, out double meanCarrierFrequencyError, out double meanCarrierPower)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

timeoutdouble

Specifies the time, in seconds, for which the method waits for the measurement to complete. A value of -1 specifies that the method waits until the measurement is complete.

meanCarrierFrequencyErrorout double

Upon return, contains the mean of the measured carrier frequency offset, in hertz (Hz).

meanCarrierPowerout double

Upon return, contains the mean of the measured carrier power, in dBm.

Returns

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