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

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

valueint

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.