MT Hamming Decoder VI
Decodes a Hamming-encoded bit stream.
The order-m Hamming codes are a special class of Bose-Chaudhari-Hocquenghem (BCH) codes in which the data word length (k) equals 2m-m–1, code word length (n) equals 2m–1, and the error correcting capacity (t) equals 1. Valid values of m lie in the range 2 ≤ m ≤ 16.
input bit stream specifies the bit sequence representing the Hamming-encoded data bits to decode. Use the MT Hamming Encoder VI to generate this encoded bit stream.
|
|||||||
hamming order specifies the Hamming code order. Specify an integer between 2 and 16, inclusive. Notice that the Hamming order m is used to specify the Hamming code with data word length equaling 2m–m–1 and code word length equaling 2m–1. The default is 3. |
|||||||
reset? specifies whether to clear the internal state of the decoder. By default, the VI resets on first call. When reset? is set to TRUE, the VI initializes the Galois field structure corresponding to the Hamming code. The VI clears any buffered bits from previous iterations. When reset? is set to FALSE, the VI continues performing Hamming decoding from the previous iteration. Any buffered bits from the previous iteration are added to the beginning of the input bit stream prior to decoding. The default is TRUE.
|
|||||||
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.
|
|||||||
output bit stream returns the decoded bit stream. |
|||||||
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.
|