LabVIEW Statechart Module

Disabling Debugging (Statechart Module)

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

By default, statechart debugging is enabled, which means you can debug a statechart. However, in some situations, you might want to disable debugging. Disabling debugging improves the efficiency of the generated Run Statechart function that represents the statechart. Disabling debugging also reduces the code size of a statechart that executes on a real-time target.

Complete the following steps to disable statechart debugging.

  1. Display the Project Explorer window for the statechart you want to debug.
  2. Right-click the .lvsc project item and select Properties.
  3. Click Statechart Code Generation item in the Category list to display the Statechart Code Generation page.
  4. Select Disabled from the Debugging pull-down menu.
  5. Click the OK button to save changes.
  6. Double-click the Diagram.vi project item.
  7. Generate code for the statechart diagram.

Log in to get a better experience