Read(string, double, out double, out double, out double, out double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| timeout | double | 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. |
| meanFrequencyOffset | out double | Upon return, contains the measured frequency offset, in hertz (Hz), from the transmitted carrier frequency. |
| meanRmsEvm | out double | Upon return, contains the mean of the RMS EVM measured per acquisition. |
| maximumPeakEvm | out double | Upon return, contains the maximum of the peak EVM measured per acquisition. |
| meanModulationErrorRatio | out 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.