RFmx TDSCDMA DotNET

Table of Contents

RFmxTdscdmaMX.AnalyzeSpectrum1Waveform Method

  • Updated2024-07-17
  • 2 minute(s) read
RFmxTdscdmaMX.AnalyzeSpectrum1Waveform Method

RFmxTdscdmaMXAnalyzeSpectrum1Waveform Method

Performs the enabled measurements on the Spectrum waveform that you specify in the spectrum parameter. Call this method after you configure the signal and measurement methods. You can fetch measurement results using the Fetch methods or result methods. Use this method only if the RFmxInstrMX.GetRecommendedAcquisitionTypeMethod method value is either spectral or IQorSpectral.
Query the Recommended Acquisition Type method from the RFmx driver after calling the RFmxTDSCDMA Commit method.

Namespace:  NationalInstruments.RFmx.TdscdmaMX
Assembly:  NationalInstruments.RFmx.TdscdmaMX.Fx40 (in NationalInstruments.RFmx.TdscdmaMX.Fx40.dll) Version: 24.5.0.49284 (24.5.0.49284)

Syntax

public int AnalyzeSpectrum1Waveform(
	string selectorString,
	string resultName,
	Spectrum<float> spectrum,
	bool reset,
	long reserved
)
Public Function AnalyzeSpectrum1Waveform ( 
	selectorString As String,
	resultName As String,
	spectrum As Spectrum(Of Single),
	reset As Boolean,
	reserved As Long
) As Integer

Parameters

selectorString
Type: SystemString
Specifies a selector string comprising of the result name. The result name can be specified either through this input or through the resultName input. If you do not specify the result name in this input, either the result name specified by the resultName input or the default result instance is used.
resultName
Type: SystemString
Specifies the name to be associated with measurement results. Provide a unique name, such as "r1", to enable fetching of multiple measurement results and traces. This input accepts the result name with or without the "result::" prefix.
spectrum
Type: NationalInstrumentsSpectrumSingle
Specifies the data for a Spectrum waveform including the start, delta, and actual values.
reset
Type: SystemBoolean
Resets measurement averaging. If you enable averaging, set this parameter to TRUE for the first record and FALSE for the subsequent records.
reserved
Type: SystemInt64
Reserved for future use. Any value passed to this parameter will be ignored.

Return Value

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

See Also

Log in to get a better experience