RFmx CDMA2K DotNET

Table of Contents

RFmxCdma2kMX.AnalyzeSpectrum1Waveform Method

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

RFmxCdma2kMXAnalyzeSpectrum1Waveform Method

Performs the enabled measurements on the spectrum waveform that you specify in 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 in the method node. Use this method only if the RFmxInstrMX.GetRecommendedAcquisitionType method value is either spectral or IQorSpectral.
Query the the RFmxInstrMX.GetRecommendedAcquisitionType method after calling the Commit(String) method.

Namespace: NationalInstruments.RFmx.Cdma2kMX
Assembly: NationalInstruments.RFmx.Cdma2kMX.Fx40 (in NationalInstruments.RFmx.Cdma2kMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)

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  String
Specifies a selector string comprising of the result name. The result name can either be specified through this input or the resultName parameter. If you do not specify the result name in this input, either the result name specified by resultName parameter or the default result instance is used. The default is "" (empty string).
Example:
""
"result::r1"
You can use the BuildResultString(String) method to build the selector string.
resultName  String
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. Example:
"result::r1"
"r1"
spectrum  SpectrumSingle
Specifies the data for a spectrum waveform including the start, delta, and actual values.
reset  Boolean
Resets measurement averaging. If you enable averaging, set this parameter to TRUE for first record and FALSE for subsequent records.
reserved  Int64
Reserved for future use. Any value passed to this parameter will be ignored.

Return Value

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