Prevent LabVIEW 2017 From Automatically Rewiring Objects When Moving Them Outside a Structure

Updated Mar 28, 2018

Reported In

Software

  • LabVIEW 2017 Full
  • LabVIEW 2017 Base
  • LabVIEW 2017 Professional
  • LabVIEW 2017 SP1 Full
  • LabVIEW 2017 SP1 Base
  • LabVIEW 2017 SP1 Professional

Issue Details

If I place a control or indicator inside a block diagram structure (such as a case structure, a while loop, a sequence structure etc.) and wire it to any block diagram node/function, if I then move the corresponding terminal outside the structure, I obtain a different behaviour in LabVIEW 2017 with respect to previous LabVIEW versions:
  • in LabVIEW 2016 or previous, when moving a terminal outside a structure, the previously-created wire is broken, as displayed below:
  • in LabVIEW 2017, when moving a terminal outside the structure, the terminal is automatically re-wired to the function, i.e. a wire is automatically recreated, as displayed below:


This behaviour is annoying since I do not need a wire to be created, since I had placed the terminal inside the structure by mistake and I need to rewire the terminal outside the structure to other functions.

How can I disable this behaviour in LabVIEW 2017?

I tried to uncheck options Enable automatic wire routing and Enable auto wiring in Tools » Options » Block Diagram » Wiring with no effect.
 

Solution

The behaviour you observed is a documented new feature of LabVIEW 2017, referred as Maintaining Wire Connections When Moving Objects.

 In order to disable automatic wire connectivity when moving objects, you should:
  1. select the object to be moved with the mouse cursor
  2. press the <W> key
  3. move the object outside the structure
In this way, you will get the same behaviour as LabVIEW 2016 or previous versions and a wire will not be automatically created (you may get a broken wire).
 

Additional Information

You can find explanation of the W shortcut as well as other useful LabVIEW keyboard shortcut in the related page of LabVIEW help.

Enable automatic wire routing and Enable auto wiring options in Tools » Options » Block Diagram » Wiring are not related to this behaviour but to LabVIEW ability to automatically create or route wires in certain conditions while you are wiring objects.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful