Table Of Contents

Event Structure (G Dataflow)

Version:
    Last Modified: March 15, 2017

    Waits until an event occurs, then executes the appropriate case to handle that event.

    The Event Structure has one or more subdiagrams, or event cases. Only one event case executes when the structure executes to handle an event.

    Configure event cases and events from the Item tab. Use Event nodes to create and configure events programmatically.

    This structure can time out while waiting for notification of an event. The Event Structure executes the timeout event case you create if the structure times out or returns an error if you do not create a timeout event case.

    terminal_icon

    Event Timeout

    Number of milliseconds to wait for an event before timing out. If you wire a value to the Event Timeout terminal, you must provide a timeout event case to avoid an error.

    terminal_icon

    Event Selector Label

    Part of the structure that specifies which events cause the currently displayed case to execute. Click the drop-down arrow to view available event cases.

    terminal_icon

    Dynamic Event Registration

    Event registration reference or a cluster of event registration references for dynamic event registration.

    Use Event nodes to define events programmatically, and then wire the event registration reference to this terminal to access those events from within the Event Structure.

    By default, the dynamic event registration terminal on the right returns the same event registration reference you wire to the input of the dynamic event registration terminal on the left. However, if you wire a different event registration reference to the input of the dynamic event registration terminal on the right, the terminal on the right no longer carries the same data as the terminal on the left.

    You can use a Register For Events node inside of an event case to modify an existing event registration reference dynamically. To modify an existing event registration reference, you must wire event references to the Register For Events node that contain the same data types as the event references contained in the event registration reference you wire to the Register For Events node.

    terminal_icon

    Event Data

    Border node that identifies the data the Event Structure returns when an event occurs. Resize the node to view and select data elements, such as Time, which is common to all events. Other data elements vary based on the event you configure.

    terminal_icon

    Tunnel

    Point through which data enters or exits a structure.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics