RFmxWcdmaMXObwResults.FetchSpectrum Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Fetches the spectrum used for the OBW measurement.
Namespace: NationalInstruments.RFmx.WcdmaMX
Assembly: NationalInstruments.RFmx.WcdmaMX.Fx40 (in NationalInstruments.RFmx.WcdmaMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int FetchSpectrum( string selectorString, double timeout, ref Spectrum<float> spectrum )
Public Function FetchSpectrum ( selectorString As String, timeout As Double, ByRef spectrum As Spectrum(Of Single) ) As Integer
Parameters
- selectorString String
-
Specifies a selector string comprising of the result name. If you do not specify the result name, the default result instance is used.
Example:
""
"result::r1"
You can use the BuildResultString(String) method to build the selector string. - timeout Double
- Specifies the time for which the method waits for the measurement to complete. This value is expressed in seconds. A value of -1 specifies that the method waits until the measurement is complete.
- spectrum SpectrumSingle
-
Upon return, contains the trace of power levels in the spectral domain. This value is expressed in dBm.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.