Refer to the readme_Statechart.html file in the labview\readme directory for information about system requirements and installation instructions, for a complete list of new features and changes, and for known issues.
The following sections describe the new features in the LabVIEW Statechart Module 2009.
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.
You can generate statechart documentation from either the Project Explorer window or the Statechart Editor window. In the Project Explorer window, right-click the .lvsc item, or statechart library, for a statechart and select Generate Documentation from the shortcut menu. In the Statechart Editor window, select File»Generate Documentation. The LabVIEW Statechart Module generates an XML file that contains information about all components, including states, pseudostates, connectors, regions, and transitions, of the statechart. You can view the XML file in a Web browser.
You also can use the Generate Documentation method to generate statechart documentation programmatically.
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 to allow you to debug the statechart before you deploy the statechart to the FPGA target. You cannot debug a statechart that runs on an actual FPGA. Select LabVIEW FPGA Target from the Execution Target pull-down menu on the Statechart Code Generation page of the Project Library Properties dialog box to specify that the statechart executes on an FPGA target.
Right-click a Run Statechart function and select Debug Statechart from the shortcut menu to debug a statechart for an FPGA target. This action is valid only when you have linked the Run Statechart function to a statechart that runs on the host computer and you have enabled debugging on the linked statechart. By default, statechart debugging for FPGA targets is disabled. You can enable statechart debugging for FPGA targets by selecting Enabled from the Debugging pull-down menu on the Statechart Code Generation page of the Project Library Properties dialog box. Enabling statechart debugging for FPGA targets increases the code size of the statechart.
You now can configure multiple states and transitions simultaneously. Open multiple Configure State or Configure Transition dialog boxes from the Statechart Editor window. You may not otherwise edit the statechart diagram when you open a Configure State or Configure Transition dialog box. When you configure a state or transition, a wrench icon appears on the state () or transition () in the Statechart Editor window. The state or transition also changes color. You can customize the configuration color for states and transitions. The default configuration color is yellow.
Click the Jump to State button in the Configure State dialog box to highlight the corresponding state in the Statechart Editor window. Click the Jump to Transition button in a Configure Transition dialog box to highlight the corresponding transition in the Statechart Editor window.
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. Select Edit»Find and Replace in the Statechart Editor window to display the Find dialog box.
You also now can find all instances of triggers and groups in a statechart. Right-click a trigger or group on the Triggers/Groups page of the Configure State or Configure Transition dialog box and select Find Trigger/Group from the shortcut menu to find all static reactions and transitions that react to the trigger or group.
You now can browse the hierarchy of a statechart to identify the relationship of the statechart to other VIs. You can browse the statechart hierarchy from either the Statechart Editor window or the Project Explorer window.
You can browse the following elements of a statechart hierarchy:
Refer to the LabVIEW 2009 Features and Changes topic for more information about new features in LabVIEW 2009.