RFmx WLAN DotNET

RFmxWlanMXSemResults.FetchUpperOffsetMarginArray Method

  • Updated2024-07-17
  • 2 minute(s) read
RFmxWlanMXSemResults.FetchUpperOffsetMarginArray Method

RFmxWlanMXSemResultsFetchUpperOffsetMarginArray Method

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.

Namespace:  NationalInstruments.RFmx.WlanMX
Assembly:  NationalInstruments.RFmx.WlanMX.Fx40 (in NationalInstruments.RFmx.WlanMX.Fx40.dll) Version: 24.5.0.49283 (24.5.0.49283)

Syntax

public int FetchUpperOffsetMarginArray(
	string selectorString,
	double timeout,
	ref RFmxWlanMXSemUpperOffsetMeasurementStatus[] measurementStatus,
	ref double[] margin,
	ref double[] marginFrequency,
	ref double[] marginAbsolutePower,
	ref double[] marginRelativePower
)
Public Function FetchUpperOffsetMarginArray ( 
	selectorString As String,
	timeout As Double,
	ByRef measurementStatus As RFmxWlanMXSemUpperOffsetMeasurementStatus(),
	ByRef margin As Double(),
	ByRef marginFrequency As Double(),
	ByRef marginAbsolutePower As Double(),
	ByRef marginRelativePower As Double()
) As Integer

Parameters

selectorString
Type: SystemString
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:
"segment0/chain0"
"result::r1/segment0/chain0"
You can use the BuildChainString(String, Int32) method to build the selector string.
timeout
Type: SystemDouble
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
Type: NationalInstruments.RFmx.WlanMXRFmxWlanMXSemUpperOffsetMeasurementStatus
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
Type: SystemDouble
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
Type: SystemDouble
Upon return, contains an array of frequencies corresponding to the margins for the upper offsets. This value is expressed in Hz.
marginAbsolutePower
Type: SystemDouble
Upon return, contains an array of absolute powers corresponding to the margins for the upper (positive) offsets. This value is expressed in dBm.
marginRelativePower
Type: SystemDouble
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.

Return Value

Type: Int32
Returns the status code of this method. The status code either indicates success or describes a warning condition.

See Also

Log in to get a better experience