Table Of Contents

Configure Trigger (Configure Multi-Sample Pattern Match Start Trigger (U32)) (G Dataflow)

Version:
    Last Modified: September 27, 2017

    Configures the Start trigger for multi-sample pattern match triggering.

    You can configure up to 32 channels with patterns of up to 10 samples per channel with This node. For the channels specified in the channel list parameter, the pattern must match each pattern element specified in the pattern array parameter on consecutive clock cycles. After the last pattern element in the pattern array parameter is matched, the Start trigger is asserted.

    This node is valid only for acquisition sessions.

    connector_pane_image
    datatype_icon

    channel list

    The channels that are configured for pattern matching using the pattern array value.

    datatype_icon

    session in

    Instrument session obtained from the Initialize Acquisition Session node, the Initialize Generation Session node, or the Initialize External Calibration node.

    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

    pattern array

    The binary multi-sample pattern that activates the pattern match trigger. The first element in the array corresponds to the first pattern acquired.

    Bits on channels not specified in channel list are ignored.

    The following example searches for ten consecutive samples on channel 0:

    Sample 0 0x0
    Sample 1 0x1
    Sample ... ...
    Sample 8 0x0
    Sample 9 0x1

    The following example searches for ten consecutive samples on channels 0 to 19:

    Sample 0 0xABCDE
    Sample 1 0xFFFFF
    Sample ... ...
    Sample 8 0xFFFFF
    Sample 9 0xABCDE
    datatype_icon

    session out

    Handle that identifies the session in all subsequent node calls.

    The session out parameter is obtained from the Initialize Acquisition Session node or the Initialize Generation Session node.

    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.

    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