Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual

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


input bit stream

Bit sequence representing the data bits to encode. Use the bits generated by MT Generate Bits to produce this bit stream or wire a custom data bit stream to this parameter.


To ensure that the output bit stream returned by this node corresponds to the entire message, set the length of input bit stream to be an integer multiple of the data word length k, where k=12. If the length of input bit stream is not an integer multiple of k, the last {length(input bit stream) modulo k} 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.


golay code type

The values of the code word length (n), data word length (k), and error correcting capacity (t), in bits.

Golay (23,12,3)

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

Golay (24,12,3)

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

Default: Golay (23,12,3)


error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: no error



A Boolean that determines whether the internal state of the encoder is cleared.

TRUE Clears any buffered bits from previous iterations.
FALSE Continues encoding from the previous iteration. Any buffered bits from the previous iteration are added to the beginning of the input bit stream prior to encoding.

Default: TRUE


output bit stream

Bit sequence encoded by this node.


error out

Error information. The node produces this output according to standard error behavior.