ConfigureSynchronization(string, RFmxDemodMXDDemodSynchronizationEnabled, sbyte[], int)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| synchronizationEnabled | RFmxDemodMXDDemodSynchronizationEnabled | 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. |
| syncBits | sbyte[] | Specifies the synchronization bits used to create the reference sequence that needs to be searched in the demodulated signal. |
| measurementOffset | int | 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.