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

Generating LabVIEW Code for a Statechart (Statechart Module)

LabVIEW 8.6 Statechart Module Help
June 2008

NI Part Number:
372103B-01

»View Product Info

After you build a statechart, click the Generate Code button , which is located on the toolbar of the Statechart Editor window. This action generates LabVIEW code that corresponds to the statechart. You then use a Run Statechart function to execute this code in a VI.

If this button appears broken , the statechart code has errors. Clicking this button displays the errors.

If this button appears dimmed , the generated LabVIEW code already is usable. You do not need to generate code for the statechart.

Note  You also can generate LabVIEW code for the statechart by right-clicking the .lvsc file in the Project Explorer window and selecting Generate LabVIEW Code from the shortcut menu.

Resources


 

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