Configures the carrier correction in analog demodulation measurements.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int ConfigureCarrierCorrection(string selectorString, RFmxDemodMXADemodCarrierFrequencyCorrectionEnabled carrierFrequencyCorrectionEnabled, RFmxDemodMXADemodCarrierPhaseCorrectionEnabled carrierPhaseCorrectionEnabled)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

carrierFrequencyCorrectionEnabledRFmxDemodMXADemodCarrierFrequencyCorrectionEnabled

Specifies whether to correct the frequency error in the carrier when demodulating frequency-modulated or phase-modulated signals.

carrierPhaseCorrectionEnabledRFmxDemodMXADemodCarrierPhaseCorrectionEnabled

Specifies whether to correct the phase error in the carrier when demodulating phase-modulated signals.

Returns

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