Fetches the segment of the reference waveform used to perform the AMPM measurement.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int FetchProcessedReferenceWaveform(string selectorString, double timeout, ref ComplexWaveform< ComplexSingle > processedReferenceWaveform)

Remarks

This method maps to the RFmxSpecAn_AMPMFetchProcessedReferenceWaveform() 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 timeout, in seconds, for fetching the specified measurement. Set this value to an appropriate time longer than expected for fetching the measurement. A value of -1 specifies that the method waits until the measurement is complete.

processedReferenceWaveformref ComplexWaveform< ComplexSingle >

Upon return, contains the segment of the reference waveform used to perform the AMPM measurement.

Returns

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