RFmxDemodMXADemodResults.FetchDistortions Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Fetches distortions for analog demodulation measurements.
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 FetchDistortions( string selectorString, double timeout, out double averageSinad, out double averageSnr, out double averageThd, out double averageThdWithNoise )
Public Function FetchDistortions ( selectorString As String, timeout As Double, <OutAttribute> ByRef averageSinad As Double, <OutAttribute> ByRef averageSnr As Double, <OutAttribute> ByRef averageThd As Double, <OutAttribute> ByRef averageThdWithNoise As Double ) As Integer
Parameters
- selectorString String
- Specifies the result name. Example: "", "result::r1". You can use the BuildResultString(String) method to build the selectorString.
- 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.
- averageSinad Double
- Upon return, contains the averaged signal-to-noise and distortion ratio, in dB, of the demodulated signal.
- averageSnr Double
- Upon return, contains the averaged signal-to-noise ratio, in dB, of the demodulated signal.
- averageThd Double
- Upon return, contains the averaged total harmonic distortion, as a percentage, of demodulated signal.
- averageThdWithNoise Double
- Upon return, contains the averaged total harmonic distortion with noise, as a percentage, of the demodulated signal.
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_ADemodFetchDistortions() function in C.