FetchUpperOffsetMarginArray(string, double, ref RFmxWlanMXSemUpperOffsetMeasurementStatus[], ref double[], ref double[], ref double[], ref double[])
- Updated2025-10-13
- 2 minute(s) read
Returns an array of measurement status, margins, margin frequencies, absolute and relative powers corresponding to the margin-frequencies for upper offset segments. The relative powers are relative to the peak power in the carrier.
Use "segment(n)/chain(k)" as the selector string to read results from this method.
Syntax
Namespace: NationalInstruments.RFmx.WlanMX
public int FetchUpperOffsetMarginArray(string selectorString, double timeout, ref RFmxWlanMXSemUpperOffsetMeasurementStatus[] measurementStatus, ref double[] margin, ref double[] marginFrequency, ref double[] marginAbsolutePower, ref double[] marginRelativePower)
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies a selector string comprising of the result name, segment number, and chain number. If you do not specify the result name, the default result instance is used. 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 | ref RFmxWlanMXSemUpperOffsetMeasurementStatus[] | Upon return, contains an array of upper offset (positive) segment measurement status, indicating whether the spectrum exceeds the SEM measurement mask limits in the upper offset segments. |
| margin | ref double[] | Upon return, contains an array of margins from the SEM measurement mask for the upper offset. This value is expressed in dB. Margin is defined as the maximum difference between the spectrum and the mask. |
| marginFrequency | ref double[] | Upon return, contains an array of frequencies corresponding to the margins for the upper offsets. This value is expressed in Hz. |
| marginAbsolutePower | ref double[] | Upon return, contains an array of absolute powers corresponding to the margins for the upper (positive) offsets. This value is expressed in dBm. |
| marginRelativePower | ref double[] | Upon return, contains an array of relative powers corresponding to the margins for the upper (positive) offsets. The relative powers are 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.