Configures hardware for acquisition, performs measurement on acquired data, and returns the phase-modulated (PM) measurement results.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int ReadPM(string selectorString, double timeout, out double meanDeviation, out double meanCarrierFrequencyError)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

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.

meanDeviationout double

Upon return, contains the mean frequency deviation, in degrees, around the nominal frequency of the PM carrier.

meanCarrierFrequencyErrorout double

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

Returns

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