Fetches the demodulated signal spectrum trace.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int FetchDemodSpectrumTrace(string selectorString, double timeout, ref Spectrum< float > demodulatedSpectrum)

Remarks

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

demodulatedSpectrumref Spectrum< float >

Upon return, contains the demodulated signal spectrum.

Returns

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