SetNumberOfOffsets(string, int)
- Updated2025-04-08
- 1 minute(s) read
Sets the number of offset channels used on either side of the reference channel for the adjacent channel power (ACP) measurement when you set the SetOffsetChannelMode(string, RFmxBTMXAcpOffsetChannelMode) method to Symmetric. This method also returns the actual number of offsets used in the ACP measurement when you set the SetOffsetChannelMode(string, RFmxBTMXAcpOffsetChannelMode) method to InBand.
Syntax
Namespace: NationalInstruments.RFmx.BTMX
public int SetNumberOfOffsets(string selectorString, int value)
Remarks
This method sets the value of AcpNumberOfOffsets attribute.The default value is 5. Valid values are 0 to 100, inclusive.
Parameters
Name | Type | Description |
---|---|---|
selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
value | int | Specifies the number of offset channels used on either side of the reference channel for the adjacent channel power (ACP) measurement when you set the SetOffsetChannelMode(string, RFmxBTMXAcpOffsetChannelMode) method to Symmetric. This method also returns the actual number of offsets used in the ACP measurement when you set the SetOffsetChannelMode(string, RFmxBTMXAcpOffsetChannelMode) method to InBand. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.