SubVI class/Inline method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 635E002
Scope VI Scripting
Data Name Inline
Short Name* Inline
Long Name* Inline
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 16401
Owning Class Name SubVI Class
Return Data Type No return value
Invoke Node Inline
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes (Read/Write)
Loads the block diagram into memoryYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningNo

Inlines the subVI into its calling VIs.

National Instruments recommends that you use the Execution:Inline SubVI method when possible to more safely inline a subVI into the block diagram of each calling VI.

Parameters

Data type Name Required Description
Boolean Make Space in Block Diagram Yes Specifies whether to rearrange the block diagram of the calling VI to make space for the inlined code from the subVI. If this input is FALSE, LabVIEW places the inlined code in the exact location of the original subVI node, often overlapping the surrounding code in the calling VI.
Boolean Wrap in Sequence Yes Specifies whether to wrap the inlined code in a single frame of a Flat Sequence structure so that none of the inlined code can begin executing until all of the inputs to the original subVI are available. Furthermore, the Flat Sequence structure frame prevents any code downstream from the original subVI from executing until all of the inlined code finishes executing.
Sequence Refnum Sequence Refnum No If Wrap in Sequence is TRUE, this output returns a reference to the Flat Sequence structure that LabVIEW created around the inlined code.

Uses

History

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

See Also

External Links