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

Remarks

This method maps to the RFmxSpecAn_SEMSetCarrierChannelBandwidth() 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.

valuedouble

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.