Button
Introduction
Button displays a control in the Viewer that you can click to output a single message containing a stored value. A Button can store any message sent to its "Set Value" input connector. Buttons are typically used to trigger the start of an execution cycle or to control the flow of incoming messages. For example, a continuously updated entryset could be sending messages to a Button that has a Graph attached to its output. The Graph would update with the most recent entryset only when the Button is clicked in the Viewer.
Viewer Control:
Pressing the Button
- Click the Button's control in the viewer to trigger the "Get Value" output connector to send the Button's stored message.
See Also:
Input Menu:
Set Value
Sets the message that is stored in the Button.
Accepted Datatypes:
- Any
- Any type of data.
Output Menu:
Get Value
Gets the value of the Button's stored message. If no message has been stored via the "Set Value" input connector, the "Get Value" connector will output a default value of "true".
Output Datatype:
- Any
- The data type of the message stored in the Button.
Triggered By:
- Action:
- Clicking on the Button's control in the Viewer.