ConfigureCarrierChannelBandwidth(string, double)
- Updated2025-10-13
- 1 minute(s) read
Configures the channel bandwidth, in hertz (Hz), of the carrier.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureCarrierChannelBandwidth(string selectorString, double carrierChannelBandwidth)
Remarks
This method maps to the RFmxSpecAn_SEMCfgCarrierChannelBandwidth() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the carrier number. Example: "carrier0". You can use the BuildCarrierString2(string, int) method to build the selector string. |
| carrierChannelBandwidth | double | Specifies the channel bandwidth, in hertz (Hz), of the carrier. The channel bandwidth is used to calculate the values of the SetOffsetStartFrequency(string, double) and SetOffsetStopFrequency(string, double) methods when you set the SetOffsetFrequencyDefinition(string, RFmxSpecAnMXSemOffsetFrequencyDefinition) method to CarrierEdgeToMeasurementBandwidthCenter or CarrierEdgeToMeasurementBandwidthEdge. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.