LabVIEW Idea Exchange

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

Make VI replacement more comfortable with "Replace wth VI" menue item

Status: New

When you wand to exchange a VI with another VI (which you do very often when you put VIs of one class into a case structure - to program modular - and don´t want to wire all stuff again, like errorwires or instrhandle wires), you have go a long way through the context menue all the time. I would suggest to add the menue item "Replace with VI" on the top menue.

 

Example:

old menue path: Replace -> All Palettes -> Select a VI ...

 

NEW: "Replace with VI"

 

Replace_VI.JPG

5 Comments
oenk
Member

I had to do a lot of that lately and I "found" a workaround.

 

Mark the VI you want to replace and press "Ctrl+F" to find all instances of that VI (either only in the current VI or in different locations. That you can define in the find-window as you might know)

In the find-window select the VI you want to replace with.

By pressing "Ctrl+G" you can navigate to the next found VI (and with "Ctrl+Shift+G" to the last found)

Let your mouse hover over the "Replace" button and than navigate to each instance of the found VI and if you want to replace that one just click once...than navigate to next (Ctrl+G), click again, navigat to the next (Ctrl+G)...I think you get the picture Smiley Very Happy

 

Cheers,

Christian

stbe
Active Participant

"Another" workaround I prefer: (Requires usage of project explorer)

* Select Object(s) to be replaced

* Open Quickdrop [CTRL+Space]

* Start typing the name of the VI (or main parts of the name so that QD finds the preferred function/VI) and select the item

* Press [CTRL+P] (or whatever is assigned to the replace plugin)

* Watch the object replaced 🙂 - and its really fast

 

greetings

_________________________
CLA
jmorris
Active Participant

I think having "Select a VI..." in the menu immediately below "Replace" (next to the selected palette or all palettes) would be an improvement, but I don't think it warrants a spot at the top level.

G-Money
NI Employee (retired)

Would having the "Select a VI.." option right under the Replace section (underneath Configure VI's Palette and All Palettes) be enough to get the functionality you are looking for? Have you tried the Quick Drop method for replacing? I started using this a couple of years ago and have never looked back.

Andreas_Pfichner
Member

@ Permalink: Quick Drop is not an option in the case, where you want to replace VIs, which are not on the palette ... and this is, what I have to do very often, since I do not add projectspecific class VIs, I have developed, to the palette.

 

Regards

 

Andreas