LabVIEW Idea Exchange

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

Tie Error Clusters automatically on Insert

Status: New

When inserting a vi that has standard error cluster configuration it would be nice to automatically tie them in when inserting.

 

Ex:

1. Create a Queue with error clusters passed through (or any vi that has Error Clusters passed through in the standard way)

2. Right click on Queue data type and select "Enqueue Element"

3. Notice that the new vi is inserted into the Queue datatype, but that the Error cluster passes beneath it

 

Better: If the new vi was inserted inline with the Queue and Error cluster datatypes.

 

Tie Error Clusters Automatically.png

 

Used Queue as an example, but it would apply/be useful for a very large number of vi's in the palette - DAQmx, Math, etc..

4 Comments
RavensFan
Knight of NI

You can do this with quick drop.  Pick both wires, Ctrl-space, type the function you want, then Ctrl-Shift-I.

fabric
Active Participant

"You can do this with quick drop..."

Quick drop is a good solution but it can be inefficient/frustrating if you don't know the name of the function you want to drop.

 

I like this idea, but preferably as an option. One possibility would be to (A) insert the function and (B) connect the error wires, with these two steps as separate entries in the undo buffer. Then we can use Ctrl-Z to undo the error wires and Ctrl-Z again to undo the insert.

Dragis
Active Participant

I love the quick drop feature, but I would also like this to work from the mouse only. One possibility is that hovering the node over the wires for some small amount of time will cause LabVIEW to show it will insert the node in the rails then clicking completes the action.

KeithTK
Member

To make this work from the mouse-insert (not quick-drop) method, would it be useful select both the datatype (queue in this example) and error wires before right clicking? 

 

That way you have the option of not highlighting an error wire so only the datatype is connected or even highlighting an error wire from another location and having it wired in instead.

 

Not sure if that is intuitive or awkward, but it would be nice to have a way to decide whether or not the error connects without having to change something in the options dialog.