RFmxSpecAnMXAmpmConfiguration.SetCarrierBandwidth Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Sets the carrier bandwidth when you set the SetAutoCarrierDetectionEnabled(String, RFmxSpecAnMXAmpmAutoCarrierDetectionEnabled) method to False. This value is expressed in Hz.
Namespace: NationalInstruments.RFmx.SpecAnMX
Assembly: NationalInstruments.RFmx.SpecAnMX.Fx40 (in NationalInstruments.RFmx.SpecAnMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int SetCarrierBandwidth( string selectorString, double value )
Public Function SetCarrierBandwidth ( selectorString As String, value As Double ) As Integer
Parameters
- selectorString String
-
Specifies the carrier number.
Example: "carrier0".
You can use the BuildCarrierString2(String, Int32) method to build the selector string. - value Double
- Specifies the carrier bandwidth when you set the SetAutoCarrierDetectionEnabled(String, RFmxSpecAnMXAmpmAutoCarrierDetectionEnabled) method to False. This value is expressed in Hz.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method sets the value of AmpmCarrierBandwidth attribute.The default value is 20 MHz.