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

Linking the Run Statechart Function to a Statechart (Statechart Module)

LabVIEW Statechart Module 1.0 Help
August 2007

NI Part Number:
372103A-01

»View Product Info

If you place a Run Statechart function on the block diagram from the Statechart Communication palette, you need to link this function to a statechart .lvsc file. Complete the following steps to accomplish this task.

  1. Generate code for the statechart.
  2. Place a Run Statechart function on the block diagram of the caller VI.
  3. Right-click the function and select Link to Statechart.
  4. Use the Link to Statechart dialog box to specify a .lvsc file.
  5. Click the OK button to save changes and return to the block diagram.

The Run Statechart function now is linked to a statechart.

Tip  To link the function without completing these steps, drag the .lvsc file from the Project Explorer window to the block diagram. This action creates a Run Statechart function that already is linked to the proper .lvsc file.

Resources


 

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