Fetches amplitude-modulated (AM) mean modulation depth for analog demodulation measurements.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int FetchAMMeanModulationDepth(string selectorString, double timeout, out double meanModulationDepth, out double meanHalfPeakToPeak, out double meanRms, out double meanPositivePeak, out double meanNegativePeak)

Remarks

This method maps to the RFmxDemod_ADemodFetchAMMeanModulationDepth() function in C.

Parameters

NameTypeDescription
selectorStringstring

Specifies the result name. Example: "", "result::r1". You can use the BuildResultString(string) method to build the selectorString.

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.

meanModulationDepthout double

Upon return, contains the mean amplitude variation, in percentage, around the unmodulated carrier amplitude. If the carrier is suppressed, the amplitude variation of the modulating signal is returned.

meanHalfPeakToPeakout double

Upon return, contains the mean (peak-to-peak)/2 amplitude, in percentage, of the modulating signal.

meanRmsout double

Upon return, contains the mean RMS amplitude of the modulating signal.

meanPositivePeakout double

Upon return, contains the mean positive peak amplitude, in percentage, of the modulating signal.

meanNegativePeakout double

Upon return, contains the mean negative peak amplitude, in percentage, of the modulating signal.

Returns

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