MT Block Interleave (Matrix) VI

LabView Digital Modulation

MT Block Interleave (Matrix) VI

Performs interleaving by writing the input data into an m (rows) × n (columns) matrix, row by row, and then reading the data out column by column when the matrix is full. Typically, block interleaver and deinterleaver VIs are used together.

Details

MT Block Interleave (Matrix)

c1di32.gif

data in specifies the input data to be interleaved. Data is processed in blocks of mn, where m is the number of rows and n is the number of columns. If the number of data samples is less than block size mn, the block interleaver does not generate any data if the VI is run once. If the data samples are continuously fed in and if the number of data samples is greater than but not a multiple of mn, the block interleaver buffers the remaining samples for use in the next iteration. For example, if m=3, n=4, and 27 data samples are specified, the VI interleaves two blocks (2×12=24) of data and buffers 3 samples (27–24=3) for use in the next iteration. Data is read in by row and read out by column. The default is empty.

ci32.gif

number of rows specifies the number of rows of the block interleaver. The default is 1.

ci32.gif

number of columns specifies the number of columns of the block interleaver. The default is 1.

cbool.gif

reset? specifies how the VI handles buffered data. When reset? is set to TRUE, buffered data is cleared. Input parameters are checked on a first call to this VI. Any change in the input parameter values during subsequent iterations of the VI is reflected only if reset? is set to TRUE. In continuous operations, when the buffered data is appended in the beginning of data from next iteration, set reset? to FALSE. 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.

i1di32.gif

data out returns the output of the block interleave operation.

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.

Details

Refer to the following theoretical example for an illustration of the interleave operation.

If the data in parameter is entered as 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,…, with number of rows equal to 3 and number of columns equal to 5, the block could be visualized as follows:

0 1 2 3 4
5 6 7 8 9
10 11 12 13 14

The data is entered by row and read by column, such that, for this example, data out would be 0,5,10,1,6,11,2,7,12,3,8,13,4,9,14.