Table Of Contents

MT Block Interleave (Matrix) (G Dataflow)

Version:
    Last Modified: February 7, 2018

    Performs interleaving by writing the input data into an m (rows) × n (columns) matrix, one row after another. When the matrix is full, this node reads the data, one column after another. Typically, the MT Block Interleave (Matrix) and MT Block DeInterleave are used together.

    connector_pane_image
    datatype_icon

    data in

    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 node 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, this node 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.

    datatype_icon

    number of rows

    The number of rows of the block interleaver.

    Default: 0

    datatype_icon

    number of columns

    The number of columns of the block interleaver.

    Default: 0

    datatype_icon

    error in

    Error conditions that occur before this node runs.

    The node responds to this input according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    reset?

    A Boolean that determines how this node handles buffered data.

    TRUE Clears the buffered data, checks the input parameters on a first call, and reflects any change in the input parameter values during subsequent iterations.
    FALSE Adds the buffered data to the beginning of data from next iteration, in continuous operations.

    Default: TRUE

    datatype_icon

    data out

    The output of the block interleave operation.

    datatype_icon

    error out

    Error information.

    The node produces this output according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Interleave Operation Example

    The following is a theoretical example of the interleave operation.

    If you set data in to be 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 will be visualized as shown:

    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.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported

    Web Server: Not supported in VIs that run in a web application


    Recently Viewed Topics