LabVIEW Statechart Module

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

  • Updated2023-02-21
  • 1 minute(s) read

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 to create a Run Statechart function that already is linked to the proper .lvsc file.

Log in to get a better experience