Generate Code Method

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.

Parameters

Data typeNameRequiredDescription
Save StatechartYesSpecifies whether to save the statechart if code generation occurs.
Force GenerationYesSpecifies whether to force code generation.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineNo
Available in Real-Time Operating SystemNo
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes