ReadPM(string, double, out double, out double)
- Updated2025-10-13
- 1 minute(s) read
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
| 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. |
| meanDeviation | out double | Upon return, contains the mean frequency deviation, in degrees, around the nominal frequency of the PM carrier. |
| meanCarrierFrequencyError | out 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.