RFmxTdscdmaMXObwResults.FetchMeasurement Method
- Updated2024-07-17
- 2 minute(s) read
RFmxTdscdmaMXObwResultsFetchMeasurement Method
Returns the OBW measurement.
Namespace: NationalInstruments.RFmx.TdscdmaMX
Assembly: NationalInstruments.RFmx.TdscdmaMX.Fx40 (in NationalInstruments.RFmx.TdscdmaMX.Fx40.dll) Version: 24.5.0.49284 (24.5.0.49284)
Syntax
public int FetchMeasurement( string selectorString, double timeout, out double occupiedBandwidth, out double absolutePower, out double startFrequency, out double stopFrequency )
Public Function FetchMeasurement ( selectorString As String, timeout As Double, <OutAttribute> ByRef occupiedBandwidth As Double, <OutAttribute> ByRef absolutePower As Double, <OutAttribute> ByRef startFrequency As Double, <OutAttribute> ByRef stopFrequency As Double ) 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. - 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. - occupiedBandwidth
- Type: SystemDouble
Upon return, contains the OBW. This value is expressed in Hz. The OBW is calculated using the following formula: OBW = Stop Frequency - Start Frequency. - absolutePower
- Type: SystemDouble
Upon return, contains the total integrated power of the averaged spectrum acquired by the OBW measurement. This value is expressed in dBm. - startFrequency
- Type: SystemDouble
Upon return, contains the start frequency of the OBW. This value is expressed in Hz. - stopFrequency
- Type: SystemDouble
Upon return, contains the stop frequency of the OBW. This value is expressed in Hz.
Return Value
Type: Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.