RFmxWlanMX.AnalyzeNWaveformsSpectrum Method
- Updated2024-07-17
- 2 minute(s) read
RFmxWlanMXAnalyzeNWaveformsSpectrum Method
Performs the enabled measurements on the spectrum(s) 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 in the method node.
Use this method only if the Recommended Acquisition Type method value is either spectral or IQorSpectral.
Query the Recommended Acquisition Type method from the RFmxInstr Property Node after calling the RFmxWLAN Commit method.
Query the Recommended Acquisition Type method from the RFmxInstr Property Node after calling the RFmxWLAN Commit method.
Namespace: NationalInstruments.RFmx.WlanMX
Assembly: NationalInstruments.RFmx.WlanMX.Fx40 (in NationalInstruments.RFmx.WlanMX.Fx40.dll) Version: 24.5.0.49283 (24.5.0.49283)
Syntax
public int AnalyzeNWaveformsSpectrum( string selectorString, string resultName, Spectrum<float>[] spectrum, bool reset )
Public Function AnalyzeNWaveformsSpectrum ( selectorString As String, resultName As String, spectrum As Spectrum(Of Single)(), reset As Boolean ) As Integer
Parameters
- selectorString
- Type: SystemString
Specifies 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 parameter, either the result name specified by the resultName parameter or the default result instance is used. Example:
""
""
"result::r1"
You can use the BuildResultString(String) method to build the selector string. - 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. Example:
"result::r1"
"r1" - spectrum
- Type: NationalInstrumentsSpectrumSingle
Specifies the waveform array where each element contains data for a spectrum waveform including start, delta, and actual values. - reset
- Type: SystemBoolean
Resets measurement averaging. If you enable averaging, set this parameter to TRUE for first record and FALSE for subsequent records.
Return Value
Type: Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.