Table Of Contents

MT Permute (G Dataflow)

Version:
    Last Modified: February 7, 2018

    Changes the position of input data elements based on values specified in the permutation array.

    connector_pane_image
    datatype_icon

    data in

    The input data to be permuted. The data samples are rearranged into new locations as defined by the permutation array.

    datatype_icon

    permutation array

    An array whose elements define the location of the samples in the output data.

    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 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 the data for the next iteration.

    Default: TRUE

    datatype_icon

    data out

    The permuted data returned by this node. The permuted data is typically passed through MT DePermute to retrieve the original data.

    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.

    Theoretical Example of the Permutation Operation

    The following is a theoretical example of the permutation operation.

    If the data in array is 7,13,17,9,2, and the permutation array is 3,2,4,0,1, the data out array would be 9,21,13,7,17, as illustrated in the following figure.

    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