Owning Palette: Statechart Functions and Objects
Requires: Statechart Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Statechart Communication functions to execute a statechart, send triggers to a statechart, and determine whether a particular state is active. You can place these functions on a block diagram.
The functions on this palette can return general LabVIEW error codes.
|IsIn||Determines whether the specified state is active. An active state is one that a statechart is currently in. You can use this function in either a guard, an action, or a subVI that a guard or action calls.|
|Run Statechart||Executes an instance of the linked statechart. You typically place this function inside a loop in the caller VI.|
|Send External Trigger||Sends a trigger to the external queue of an instance of the linked statechart. You can use this function in the caller VI or in a VI that runs parallel to the caller VI.|
|Send Internal Trigger||Sends a trigger to the internal queue of the statechart. You can use this function within only an action or in a subVI that an action calls.|