Generate Code Method

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

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 typeNameRequiredDescription
Save StatechartYesSpecifies whether to save the statechart if code generation occurs.
Force GenerationYesSpecifies whether to force code generation.


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


Not Helpful