Sets 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 SetCarrierBandwidth(string selectorString, double value)

Remarks

This method sets 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.

valuedouble

Specifies 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.