Fetches the amplitude-modulated (AM) maximum modulation depth.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int FetchAMMaximumModulationDepth(string selectorString, double timeout, out double maximumModulationDepth, out double maximumHalfPeakToPeak, out double maximumRms, out double maximumPositivePeak, out double maximumNegativePeak)

Remarks

This method maps to the RFmxDemod_ADemodFetchAMMaximumModulationDepth() 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.

maximumModulationDepthout double

Upon return, contains the maximum modulation depth, in percentage, measured across multiple acquisitions.

maximumHalfPeakToPeakout double

Upon return, contains the maximum (peak-to-peak)/2 amplitude, in percentage, of the modulating signal measured across multiple acquisitions.

maximumRmsout double

Upon return, contains the maximum RMS amplitude, in percentage, of the modulating signal measured across multiple acquisitions.

maximumPositivePeakout double

Upon return, contains the maximum positive peak amplitude, in degrees, of the modulating signal measured across multiple acquisitions.

maximumNegativePeakout double

Upon return, contains the maximum negative peak amplitude, in percentage, of the modulating signal measured across multiple acquisitions.

Returns

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