Short Name: Generate Code
Requires: Statechart Module
Class: StatechartLibrary Methods
To Use: Create a method.
Generates code for the statechart and optionally saves the statechart. The statechart is saved only if code generation occurs and the Save Statechart parameter is TRUE.
| Data type | Name | Required | Description |
|---|---|---|---|
![]() | Save Statechart | Yes | Specifies whether to save the statechart if code generation occurs. |
![]() | Force Generation | Yes | Specifies whether to force code generation. |
The following table lists the characteristics of this method.
| Data type | No return value |
| Available in Run-Time Engine | No |
| Available in Real-Time Operating System | No |
| Settable when the VI is running | No |
| Loads the front panel into memory | No |
| Need to authenticate before use | No |
| Loads the block diagram into memory | No |
| Remote access allowed | Yes |