Configures the center frequency, in hertz (Hz), of the carrier, relative to the value of the GetCenterFrequency(string, out double) method.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureCarrierFrequency(string selectorString, double carrierFrequency)

Remarks

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

carrierFrequencydouble

Specifies the center frequency, in Hz, of the carrier, relative to the value of the GetCenterFrequency(string, out double) method.

Returns

Returns the status code of this method. The status code either indicates success or describes an error or warning condition.