StatechartLibrary class/Generate Code method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 18A16402
Scope Basic Development Environment
Data Name Generate Code
Short Name* Generate Code
Long Name* Generate Code
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 126
Owning Class Name StatechartLibrary Class
Return Data Type No return value
Invoke Node Generate Code
Available in Real-Time Operating SystemNo
Available in Run-Time EngineNo
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningNo

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 type Name Required Description
Boolean Save Statechart Yes Specifies whether to save the statechart if code generation occurs.
Boolean Force Generation Yes Specifies whether to force code generation.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links