RFmxDemodMXADemodResults.ReadFM Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Configures hardware for acquisition, performs measurement on acquired data, and returns the frequency-modulated (FM) measurement results.
Namespace: NationalInstruments.RFmx.DemodMX
Assembly: NationalInstruments.RFmx.DemodMX.Fx40 (in NationalInstruments.RFmx.DemodMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int ReadFM( string selectorString, double timeout, out double meanDeviation, out double meanCarrierFrequencyError )
Public Function ReadFM ( selectorString As String, timeout As Double, <OutAttribute> ByRef meanDeviation As Double, <OutAttribute> ByRef meanCarrierFrequencyError As Double ) As Integer
Parameters
- 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 Double
- Upon return, contains the mean frequency deviation around the nominal frequency of the FM carrier.
- meanCarrierFrequencyError Double
- Upon return, contains the mean of the measured carrier frequency offset, in Hz.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method maps to the RFmxDemod_ADemodReadFM() function in C.