Configures the absolute limit mode and specifies the absolute power limits corresponding to the beginning and end of the offset segment.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureOffsetAbsoluteLimit(string selectorString, RFmxSpecAnMXSemOffsetAbsoluteLimitMode absoluteLimitMode, double absoluteLimitStart, double absoluteLimitStop)

Remarks

This method maps to the RFmxSpecAn_SEMCfgOffsetAbsoluteLimit() function in C.

Parameters

NameTypeDescription
selectorStringstring

Specifies the offset number. Example: "offset0". You can use the BuildOffsetString2(string, int) method to build the selector string.

absoluteLimitModeRFmxSpecAnMXSemOffsetAbsoluteLimitMode

Specifies whether the absolute limit mask is a flat line or a line with a slope.

absoluteLimitStartdouble

Specifies the absolute power limit, in dBm, corresponding to the beginning of the offset segment. The value of this parameter is also set as the stop limit for the offset segment when you set the absoluteLimitMode parameter to Couple.

absoluteLimitStopdouble

Specifies the absolute power limit, in dBm, corresponding to the end of the offset segment. This parameter is ignored when you set the absoluteLimitMode parameter to Couple.

Returns

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