Fetches the spectrum used for the SEM measurement.

Syntax

Namespace: NationalInstruments.RFmx.TdscdmaMX

public int FetchSpectrum(string selectorString, double timeout, ref Spectrum< float > spectrum, ref Spectrum< float > relativeMask, ref Spectrum< float > absoluteMask)

Parameters

NameTypeDescription
selectorStringstring

Specifies a selector string comprising of the result name. If you do not specify the result name, the default result instance is used.

timeoutdouble

Specifies the timeout for fetching the specified measurement. This value is expressed in seconds. 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.

spectrumref Spectrum< float >

Upon return, contains the trace of power levels in the spectral domain. This value is expressed in dBm.

relativeMaskref Spectrum< float >

Upon return, contains the trace of power levels representing the relative mask in the spectral domain.

absoluteMaskref Spectrum< float >

Upon return, contains the data for a real waveform including the start, delta, and actual values.

Returns

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