LabVIEW Idea Exchange

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

Insert compatible VI into flow

Status: Declined
Functionality already in LabVIEW.

Let's uppose I'm sending a sequence of commands to a VISA-controlled instrument (see picture).

While dubugging, I realize I missed a command along the sequence (on following example, I forgot setting output impedance):

insert_vi.jpg

As of now, I need to delete the wires between 2nd and 3rd VIs, place the missing VI, then draw the four missing connections.

I'd like Labview to recognize that the I/O pattern of the VI to be inserted is compatible with the existing flow, and to insert it correctly.

Something similar already happens when you place a new VI into the block diagram, and you drag it near a VI with compatible I/O (blinking wires appear).

5 Comments
JackDunaway
Trusted Enthusiast
Here's a very popular idea introduced by macaba that is extremely similar to this idea.
Message Edited by JackDunaway (mechelecengr) on 09-23-2009 08:28 AM
RoyA
Member

xdaf,

 

This won't help a whole lot, but you don't have to delete both of the wires.  Just delete one of them, hover over the other (I usually leave the error wire)with your wiring tool and 'insert' the missing function.  Then you have only two wires to create.

 

Just discovered, if you delete the error wire and leave the reference wire your insert will give you the correct pallet as a choice.  Error wire just gives you the Dialog and Cluster pallets.

Darren
Proven Zealot

This functionality is now possible with Quick Drop in LabVIEW 2010.  Check out what I have to say about "Smart Insert" here.

 

-D

xdaf
Active Participant

Thanks Darren!

G-Money
NI Employee (retired)
Status changed to: Declined
Functionality already in LabVIEW.