FetchAMMeanModulationDepth(string, double, out double, out double, out double, out double, out double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| 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. |
| meanModulationDepth | out 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. |
| meanHalfPeakToPeak | out double | Upon return, contains the mean (peak-to-peak)/2 amplitude, in percentage, of the modulating signal. |
| meanRms | out double | Upon return, contains the mean RMS amplitude of the modulating signal. |
| meanPositivePeak | out double | Upon return, contains the mean positive peak amplitude, in percentage, of the modulating signal. |
| meanNegativePeak | out 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.