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

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetCarrierChannelBandwidth(string selectorString, out double value)

Remarks

This method maps to the RFmxSpecAn_SEMGetCarrierChannelBandwidth() function in C.

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