ReadAM(string, double, out double, out double)
- Updated2025-04-08
- 1 minute(s) read
Configures hardware for acquisition, performs measurement on acquired data, and returns the amplitude-modulated (AM) measurement results.
Syntax
Namespace: NationalInstruments.RFmx.DemodMX
public int ReadAM(string selectorString, double timeout, out double meanModulationDepth, out double meanCarrierPower)
Remarks
This method maps to the RFmxDemod_ADemodReadAM() function in C.
Parameters
Name | Type | Description |
---|---|---|
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. |
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. |
meanCarrierPower | out double | Upon return, contains the mean of the measured carrier power, in dBm. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.