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.
Complete the following steps to disable statechart debugging.
- Display the Project Explorer window for the statechart you want to debug.
- Right-click the .lvsc project item and select Properties.
- Click Statechart Code Generation item in the Category list to display the Statechart Code Generation dialog box.
- Select Disabled from the Debugging pull-down list.
- Click the OK button to save changes.
- Double-click the Diagram.vi project item.
- Generate LabVIEW code for the statechart diagram.