Configures the equalizer.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int ConfigureEqualizer(string selectorString, RFmxDemodMXDDemodEqualizerMode equalizerMode, int equalizerFilterLength, double x0, double dx, ComplexSingle[] y, int equalizerTrainingCount, double equalizerConvergenceFactor)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

equalizerModeRFmxDemodMXDDemodEqualizerMode

Specifies whether the measurement needs to perform equalization.

equalizerFilterLengthint

Specifies the length of the equalization filter to be computed. The length is specified in terms of symbols. This parameter is ignored when the equalizer initial coefficients are specified.

x0double

Always pass 0 to this parameter. Any other values will be ignored.

dxdouble

Specifies the spacing between the coefficients as a fraction of the symbol spacing. For example, if four coefficients correspond to one symbol, the spacing is 1/4.

yComplexSingle[]

Specifies the initial coefficients to be used by the equalizer.

equalizerTrainingCountint

Specifies the number of iterations during which the equalizer adapts its coefficients in the training stage.

equalizerConvergenceFactordouble

Specifies the incremental step used by the equalizer to adapt to the channel, during the training stage.

Returns

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