Syntax

RFmx SpecAn 19.1 Help

Edition Date: October 2019

Part Number: 374264N-01

»View Product Info
Download Help (Windows Only)
Visual Basic (Declaration)
Public Function FetchSpectrum ( _
	selectorString As String, _
	timeout As Double, _
	ByRef spectrum As Spectrum(Of Single) _
) As Integer
C#
public int FetchSpectrum(
	string selectorString,
	double timeout,
	ref Spectrum<float> spectrum
)

Parameters

selectorString
Specifies the result name. Example: "", "result::r1". You can use the NationalInstruments.RFmx.SpecAnMX.RFmxSpecAnMX.BuildResultString method to build the selector string.
timeout
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.
spectrum
Type: NationalInstruments..::.Spectrum<(Of <(Single>)>) %
Upon return, contains the Spectrum trace values.

Return Value

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

Remarks

This method maps to the RFmxSpecAn_SpectrumFetchSpectrum() function in C.

See Also

WAS THIS ARTICLE HELPFUL?

Not Helpful