ConfigureOffsetAbsoluteLimit(string, RFmxSpecAnMXSemOffsetAbsoluteLimitMode, double, double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the offset number. Example: "offset0". You can use the BuildOffsetString2(string, int) method to build the selector string. |
| absoluteLimitMode | RFmxSpecAnMXSemOffsetAbsoluteLimitMode | Specifies whether the absolute limit mask is a flat line or a line with a slope. |
| absoluteLimitStart | double | 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. |
| absoluteLimitStop | double | 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.