Gets the carrier bandwidth when you set the SetAutoCarrierDetectionEnabled(string, RFmxSpecAnMXAmpmAutoCarrierDetectionEnabled) method to False. This value is expressed in Hz.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetCarrierBandwidth(string selectorString, out double value)

Remarks

This method gets the value of AmpmCarrierBandwidth attribute.The default value is 20 MHz.

Parameters

NameTypeDescription
selectorStringstring

Specifies the carrier number.
Example: "carrier0".
You can use the BuildCarrierString2(string, int) method to build the selector string.

valueout double

Upon return, contains the carrier bandwidth when you set the SetAutoCarrierDetectionEnabled(string, RFmxSpecAnMXAmpmAutoCarrierDetectionEnabled) method to False. This value is expressed in Hz.

Returns

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