LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Petru_Tarabuta

New gesture to create Unbundle By Name node (Ctrl + double-click when creating a cluster wire branch)

Status: New

Recently LabVIEW has added the following feature: When creating a new wire, double-clicking creates a terminal. This can be an indicator or a control, depending on what was selected. If the wire was started from a data sink (a structure tunnel or a subVI or node input terminal), holding down the Ctrl key while double-clicking creates a constant. This is very useful and saves time. Kudos!

 

When working with cluster wires, it would be useful if an Unbundle By Name node could be created by:

1. Start creating a new cluster wire or wire branch

2. Hold down a modifier key (Ctrl, Alt, Shift, or a combination thereof) and double-click

 

Step 1: Start creating a cluster wire

1 (edited).png

 

 

 

 

 

 

 

 

 

 

 

Step 2 - current behaviour: double-clicking creates a terminal. This is useful. Holding modifier keys down (Ctrl, Alt, Shift) does not alter the behaviour.

2 (edited).png

 

 

 

 

 

 

 

 

 

 

 

Step 2 - desired behaviour: Holding modifier key + double-click creates Unbundle By Name node

3 (edited).png

 

 

 

 

 

 

 

 

 

 

 

Notes

  • Creating UBN nodes is a common, repetitive action when working with clusters. This gesture would save time.
  • The screenshots above show a cluster wire being created starting from a control terminal. The gesture should, of course, work regardless of which object the wire branch was started from (e.g. tunnel, subVI output terminal, etc).
  • Perhaps the idea can be expanded to creating Bundle By Name nodes. Perhaps one modifier key (e.g. Ctrl) would create a UBN node, while another key (e.g. Alt) would create a BBN node.
3 Comments
wiebe@CARYA
Knight of NI

@Petru_Tarabuta wrote:

Notes

  • Creating UBN nodes is a common, repetitive action when working with clusters. This gesture would save time.

I don't use clusters a lot anymore (classes replaced them).

 

But obviously (?), this should extend to class wires, at least when you're in the class's private scope:

 

wiebeCARYA_0-1711616933293.png

 

The out of scope behavior could be debated... Maybe simply add an UBN anyway.

Petru_Tarabuta
Member

Fully agree that the gesture should extend to class wires, and that it would be best if the gesture worked for class wires only when inside the class's private scope.

JoGra
Member

Great idea!

 

I also just started using the BundleMagic Plugin Toolkit for LabVIEW

and its so nice (although slightly buggy and sometimes causes crashes) but maybe with some dev from the community it could be come more stable. 

Just the right click -> Bundle/Unbundle on cluster/class/reference wires to get a small ui to select the element is quite a lot faster than the CTRL+Space -> ubn -> CTRL+I and then manually selecting the element.