Connect Wires Method

Short Name: Connect Wires

Requires: VI Scripting

Class: Node Methods

To Use: Create a method.

Connects wires to the node. The wire source can be either another node or a terminal. Auto wire applies only if the source is a node. If auto wire is TRUE, compatible terminals are chosen automatically from the source node to be wired to the terminals of the node. Wiring specs is a 2D array of strings that specify the names of the source and sink terminal pairs.

Parameters

Data typeNameRequiredDescription
Wire SourceYesThe original source of the wire.
Auto Wire? (T)NoIf TRUE, LabVIEW automatically chooses a compatible source terminal from the source node. You can use auto-wiring only if the source is a node.
Wiring SpecsNoA 2D array of strings that specify the names of the source and sink terminal pairs. You can use wiring specs only if the source is a node.
Auto Route? (F)NoIf TRUE, LabVIEW automatically finds the best path for the wire. The default is FALSE.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineNo
Available in Real-Time Operating SystemYes
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