Configures hardware for acquisition, performs measurement on acquired data for the modulation type configured using the ConfigureModulationType(string, RFmxDemodMXDDemodModulationType, RFmxDemodMXDDemodM, RFmxDemodMXDDemodDifferentialEnabled) method and returns the frequency offset, error vector magnitude (EVM), and modulation error ratio (MER) results.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int Read(string selectorString, double timeout, out double meanFrequencyOffset, out double meanRmsEvm, out double maximumPeakEvm, out double meanModulationErrorRatio)

Remarks

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

meanFrequencyOffsetout double

Upon return, contains the measured frequency offset, in hertz (Hz), from the transmitted carrier frequency.

meanRmsEvmout double

Upon return, contains the mean of the RMS EVM measured per acquisition.

maximumPeakEvmout double

Upon return, contains the maximum of the peak EVM measured per acquisition.

meanModulationErrorRatioout double

Upon return, contains the MER, in dB.

Returns

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