RFmxLteMXChpResults.FetchSpectrum Method
- Updated2024-07-17
- 1 minute(s) read
RFmxLteMXChpResultsFetchSpectrum Method
Fetches the spectrum used for CHP measurements.
Namespace: NationalInstruments.RFmx.LteMX
Assembly: NationalInstruments.RFmx.LteMX.Fx40 (in NationalInstruments.RFmx.LteMX.Fx40.dll) Version: 24.5.0.49283 (24.5.0.49283)
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
- Type: SystemString
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
- Type: SystemDouble
Specifies the timeout for fetching the specified measurement. This value is expressed in seconds. 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: NationalInstrumentsSpectrumSingle
Upon return, contains the spectrum.
Return Value
Type: Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.