RFmxWcdmaMXAcpResults.FetchRelativePowersTrace Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Fetches the relative powers trace for the ACP 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 FetchRelativePowersTrace( string selectorString, double timeout, int traceIndex, ref Spectrum<float> relativePowersTrace )
Public Function FetchRelativePowersTrace ( selectorString As String, timeout As Double, traceIndex As Integer, ByRef relativePowersTrace 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.
- traceIndex Int32
- Specifies the index of the trace to fetch. The traceIndex can range from 0 to (Number of carriers + 2*Number of offsets).
- relativePowersTrace SpectrumSingle
- Returns the trace of relative power measured relative to the power reference carrier in the channel specified by the traceIndex parameter. This value is expressed in dB.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.