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

Document Type: Tutorial
NI Supported: Yes
Publish Date: Jul 31, 2009


Feedback


Yes No

Related Links - Developer Zone

Related Links - Products and Services

New NI LabVIEW Statechart Module Features

2 ratings | 2.50 out of 5
Read in | Print

Overview

Each release of the NI LabVIEW Statechart Module includes new features, performance enhancements, and scheduled bug fixes.

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.


[+] Enlarge Image

Figure 5. State highlighting indicates the state being configured.

 

<< Back to LabVIEW Statechart Module home 

2 ratings | 2.50 out of 5
Read in | Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).