Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Statechart Communication Functions

LabVIEW 2010 Statechart Module Help

Edition Date: June 2010

Part Number: 372103D-01

»View Product Info

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.

Palette ObjectDescription
IsInDetermines 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 StatechartExecutes an instance of the linked statechart. You typically place this function inside a loop in the caller VI.
Send External TriggerSends 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 TriggerSends 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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit