FetchUpperOffsetMargin(string, double, out RFmxWlanMXSemUpperOffsetMeasurementStatus, out double, out double, out double, out double)
- Updated2025-04-08
- 2 minute(s) read
Returns the measurement status, margin, margin-frequency, absolute and relative power corresponding to the margin-frequency for upper offset segment. The relative power is relative to the peak power in the carrier.
Use "segment(n)/chain(k)/offset(l)" as the selector string to read results from this method.
Syntax
Namespace: NationalInstruments.RFmx.WlanMX
public int FetchUpperOffsetMargin(string selectorString, double timeout, out RFmxWlanMXSemUpperOffsetMeasurementStatus 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, segment number, chain number, and offset number. Example: |
timeout | double | Specifies the timeout for fetching the specified measurement. 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. This value is expressed in seconds. |
measurementStatus | out RFmxWlanMXSemUpperOffsetMeasurementStatus | Upon return, contains the upper (positive) offset segment measurement status, indicating whether the spectrum exceeds the SEM measurement mask limits in the upper offset segment. |
margin | out double | Upon return, contains the margin from the SEM measurement mask for the upper offset. Margin is defined as the maximum difference between the spectrum and the mask. This value is expressed in dB. |
marginFrequency | out double | Upon return, contains the frequency corresponding to the margin for the upper offset. This value is expressed in Hz. |
marginAbsolutePower | out double | Upon return, contains the power level of the spectrum, corresponding to the SEM Results Upper Offset Margin result. This value is expressed in dBm. |
marginRelativePower | out double | Upon return, contains the power level of the spectrum, corresponding to the GetUpperOffsetMargin(string, out double) result. The power level is returned relative to the peak power of the carrier channel. 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.