Enclose Selection 2 Method

Short Name: EncloseSelection2

Requires: VI Scripting

Class: TopLevelDiagram Methods

To Use: Create a method.

Encloses the selected items on the block diagram in a structure. When you use this property to drop a loop, LabVIEW creates tunnels with as few broken wires as possible and creates shift register pairs if appropriate.

Parameters

Data typeNameRequiredDescription
EnclosureTypeYesSpecifies the type of structure to use to enclose the selected items. This input must be a valid reference to an existing structure. However, the structure you reference can be located in any VI and does not need to be on the block diagram where you want to enclose selected items.

Remarks

The following table lists the characteristics of this method.

Data type
Available in Run-Time EngineYes (Read/Write)
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 allowedNo