As you move a selected object close to other objects on the block diagram, LabVIEW draws temporary wires to show you valid connections. When you release the mouse button to add the object to the block diagram, LabVIEW automatically connects the wires. You also can automatically wire objects already on the block diagram. LabVIEW connects the terminals that best match and does not connect the terminals that do not match.
Toggle automatic wiring by pressing the spacebar while you move an object using the Positioning tool. By default, automatic wiring is enabled when you select an object from the Functions palette or when you clone an object already on the block diagram. Automatic wiring is disabled by default when you use the Positioning tool to move an object already on the block diagram. When automatic wiring is enabled, the selected object retains its appearance when you drag it. When automatic wiring is disabled, the selected object appears as a dotted outline when you drag it.
Complete the following steps to practice wiring objects automatically as you add them to the block diagram.
If necessary, enable automatic wiring and set the maximum and minimum distances for objects to wire automatically.
Add a numeric control to the front panel window.
Add Find
Press the <Ctrl-E> keys to display the block diagram. (macOS) Press the <Command-E> keys. (Linux) Press the <Alt-E> keys.
Select the Add function from the Functions palette.
Add Find
Move the left side of the function close to the right side of the numeric control terminal on the block diagram. As you move the function close to the terminal, LabVIEW draws temporary wires to show you valid connections. Make sure the function is within the maximum and minimum distances you set in step 1.
When a temporary wire appears between the numeric control terminal and the top left terminal of the Add function, click the mouse button to add the function and wire the objects.
Make sure you wire all required terminals. Otherwise, the VI is broken and will not run. Use the Context Help window to see which terminals a block diagram node requires. The labels of required terminals appear bold in the Context Help window.