Configures bit pattern synchronization.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int ConfigureSynchronization(string selectorString, RFmxDemodMXDDemodSynchronizationEnabled synchronizationEnabled, sbyte[] syncBits, int measurementOffset)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

synchronizationEnabledRFmxDemodMXDDemodSynchronizationEnabled

Specifies whether the demodulator needs to search and synchronize the signal to a known reference sequence. The reference sequence is the symbol representation of a defined set of bits known to be present in the transmitted signal. If the synchronization is found in the demodulated signal, the measurement is performed from this point onward. If the synchronization is not found, the entire signal is used for the measurement.

syncBitssbyte[]

Specifies the synchronization bits used to create the reference sequence that needs to be searched in the demodulated signal.

measurementOffsetint

Specifies the offset, which is the location from which the signal is considered for further measurements.

Returns

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