Fetches the carrier measurement.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int FetchCarrierMeasurement(string selectorString, double timeout, out double meanFrequencyOffset, out double meanFrequencyDrift, out double meanPhaseError)

Remarks

This method maps to the RFmxDemod_DDemodFetchCarrierMeasurement() 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

meanFrequencyOffsetout double

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

meanFrequencyDriftout double

Upon return, contains the mean of the measured carrier frequency drift, in Hz.

meanPhaseErrorout double

Upon return, contains the mean of the measured phase offset, in degrees, from the transmitted carrier phase.

Returns

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