Configures the measurement filter.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int ConfigureMeasurementFilter(string selectorString, RFmxDemodMXDDemodMeasurementFilterType measurementFilterType, double x0, double dx, float[] y)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

measurementFilterTypeRFmxDemodMXDDemodMeasurementFilterType

Specifies whether the measurement needs to compute the measurement filter based on the pulse shaping filter type or uses the custom measurement filter coefficients.

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.

yfloat[]

Specifies the filter coefficients to be used by demodulator.

Returns

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