Fetches the absolute powers, relative powers and margins measured in the offset channel.
Use "offset(k)" as the selector string to read results from this method.

Syntax

Namespace: NationalInstruments.RFmx.BTMX

public int FetchOffsetMeasurement(string selectorString, double timeout, out double lowerAbsolutePower, out double upperAbsolutePower, out double lowerRelativePower, out double upperRelativePower, out double lowerMargin, out double upperMargin)

Parameters

NameTypeDescription
selectorStringstring

Specifies a selector string comprising of the signal name, offset number, and the result name. If you do not specify the result name, the default result instance is used. Example:
"offset0"
"result::r1/offset0"
You can use the BuildOffsetString(string, int) method to build the selector string.

timeoutdouble

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.

lowerAbsolutePowerout double

Upon return, contains the absolute power measured in the lower offset channel. This value is expressed in dBm.

upperAbsolutePowerout double

Upon return, contains the absolute power measured in the upper offset channel. This value is expressed in dBm.

lowerRelativePowerout double

Upon return, contains the relative power in the lower offset channel measured with respect to the reference channel power. This value is expressed in dB.

upperRelativePowerout double

Upon return, contains the relative power in the upper offset channel measured with respect to the reference channel power. This value is expressed in dB.

lowerMarginout double

Upon return, contains the margin from the limit specified by the mask with exception for lower offsets. This value is expressed in dB. Margin is defined as the difference between the offset absolute power and mask with exception. This parameter is valid only if you set the SetOffsetChannelMode(string, RFmxBTMXAcpOffsetChannelMode) method to InBand. This parameter returns NaN if you set the SetOffsetChannelMode(string, RFmxBTMXAcpOffsetChannelMode) method to Symmetric.

upperMarginout double

Upon return, contains the margin from the limit specified by the mask with exception for upper offsets. This value is expressed in dB. Margin is defined as the difference between the offset absolute power and mask with exception. This parameter is valid only if you set the SetOffsetChannelMode(string, RFmxBTMXAcpOffsetChannelMode) method to InBand. This parameter returns NaN if you set the SetOffsetChannelMode(string, RFmxBTMXAcpOffsetChannelMode) method to Symmetric.

Returns

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