New LabVIEW 2009 Statechart Module Features
Generating Documentation for Statecharts
Debugging Statecharts for FPGA Targets
Changing a Guard or Action – No Code Generation Required
Finding Objects and Text in Statecharts
Configuring Multiple States or Transitions Simultaneously
New LabVIEW 2009 Statechart Module Features
Generating Documentation for Statecharts
You now can generate documentation that describes all components of a completed statechart. Print or save statechart documentation to keep a record you can refer to later.

Figure 1. You can generate statechart documentation and print or save it for reference.

Figure 2. Statechart documentation is readable in Web browsers.
Debugging Statecharts for FPGA Targets
You now can debug statecharts for field-programmable gate array (FPGA) targets executing on the host computer. LabVIEW can run the statechart on the host computer, giving you the ability to debug the statechart before you deploy it to the FPGA target. You cannot debug a statechart that runs on an actual FPGA.
Changing a Guard or Action – No Code Generation Required
In earlier versions of the LabVIEW Statechart Module, you had to regenerate code for the statechart when you modified a guard or action in a transition or static reaction. However, code generation can be time-consuming for large statecharts. In the LabVIEW 2009 Statechart Module, you no longer must regenerate code for a statechart when you make modifications to a nonempty guard or action. Although, you still must regenerate code if you add code to a previously empty guard or action or if you delete all code from a guard or action.
Finding Objects and Text in Statecharts
You now can search statecharts for a particular object or string of text. Use the Find dialog box to find VIs, Express VIs, objects, or text in the guard and action code of a statechart or to find Statechart Development objects or text in the Statechart Editor window. You also now can find all instances of triggers and groups in a statechart.

Figure 3. Use the Find dialog box to find objects and text in statecharts.

Figure 4: You can also find triggers in statecharts.
Configuring Multiple States or Transitions Simultaneously
You now can configure multiple states and transitions simultaneously. Open multiple Configure State or Configure Transition dialog boxes from the Statechart Editor window.

Figure 5. State highlighting indicates the state being configured.
