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

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

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.

meanCarrierPowerout 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.