FetchUpperOffsetMargin(string, double, out RFmxCdma2kMXSemUpperOffsetMeasurementStatus, out double, out double, out double, out double)
- Updated2025-04-08
- 2 minute(s) read
Returns the measurement status and margin from the limit line measured in the upper offset segment.
Use "offset(n)" as the selector string to read parameters from this method.
Syntax
Namespace: NationalInstruments.RFmx.Cdma2kMX
public int FetchUpperOffsetMargin(string selectorString, double timeout, out RFmxCdma2kMXSemUpperOffsetMeasurementStatus measurementStatus, out double margin, out double marginFrequency, out double marginAbsolutePower, out double marginRelativePower)
Parameters
Name | Type | Description |
---|---|---|
selectorString | string | Specifies a selector string comprising of the result name, and offset number. If you do not specify the result name, the default result instance is used. |
timeout | double | 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. |
measurementStatus | out RFmxCdma2kMXSemUpperOffsetMeasurementStatus | Indicates the upper offset measurement status based on measurement limits and the failure criteria specified by the standard. |
margin | out double | Upon return, contains the margin from the limit mask value specified by the standard. This value is expressed in dB. Margin is defined as the minimum difference between the spectrum and the closest limit mask (absolute or relative). |
marginFrequency | out double | Upon return, contains the frequency at which the margin occurred in the upper (positive) offset. This value is expressed in Hz. |
marginAbsolutePower | out double | Upon return, contains the power at which the margin occurred in the upper (positive) offset segment. This value is expressed in dBm. |
marginRelativePower | out double | Upon return, contains the power at which the margin occurred in the upper (positive) offset segment relative to the carrier absolute integrated power. This value is expressed in dB. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.