MT Golay Encoder VI

LabView Digital Modulation

MT Golay Encoder VI

Generates a Golay-encoded bit stream. The VI provides the two triple-correcting Golay codes: the Golay (23,12,3) code and the extended Golay (24,12,3) code.

MT Golay Encoder

c1di8.gif

input bit stream specifies the bit sequence representing the data bits to encode. Use the MT Generate Bits (poly) VI to produce this bit stream or wire a custom data bit stream to this parameter.

Tip   To ensure that the output bit stream returned by the Golay encoder corresponds to the entire input bit stream, specify an input bit stream with an integer length that is a multiple of 12. If the length of the input bit stream is not an integer multiple of 12, the last {length(input bit stream) modulo 12} bits are buffered in the encoder. These bits are added to the beginning of the incoming bit stream during the beginning of the next iteration if reset? is set to FALSE.
cenum.gif

Golay code type (n,k,t) specifies the values of n, k, and t that define the code word length, data word length, and error correcting capacity, respectively, in bits.

Golay (23,12,3) (0)

The (n,k,t) values are (23, 12, 3). This is the default value.

Golay (24,12,3) (1)

The (n,k,t) values are (24, 12, 3).

cbool.gif

reset? specifies whether to clear the internal state of the encoder. By default, the VI resets on first call. When reset? is set to FALSE, the VI continues Golay encoding from the previous iteration. In this case, any buffered bits from the previous iteration are added to the beginning of the input bit stream prior to performing Golay encoding. The default is TRUE.

ccclst.gif

error in (no error) can accept error information wired from previously called VIs. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cbool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

ci32.gif

code identifies the error or warning code. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cstr.gif

source describes the origin of the error or warning. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

i1di8.gif

output bit stream returns the Golay-encoded bits.

icclst.gif

error out passes error or warning information out of a VI to be used by other VIs. Right-click the front panel error out indicator and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the front panel error out indicator and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

ii32.gif

code is the error or warning code. Right-click the front panel error out indicator and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

istr.gif

source describes the origin of the error or warning. Right-click the front panel error out indicator and select Explain Error or Explain Warning from the shortcut menu for more information about the error.