LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HELP! After use Copy and Paste my VI dont work?

Hello,

I have copied using CTRL+C a part of my block diagram code, in order to duplicate a funktion.

After I press CTRL+V, I didnf see any paste items, and I continue developping manually inserting the funktions and conect de wires.

Now I got a Broken Start button and the error list says, that some variables are not wired and some select funktion are not wired.

The problem is when I select show error, the mark a rectangle with some dot lines, but I cant see the variable or funktion to erase it.

There are somewhere in the backgroud or I dont know.

 

What can I do to revert this issue, in order to get my VI working again?

 

Thank You

 

0 Kudos
Message 1 of 3
(2,445 Views)

This should be posted to the LV forum, I'll assume it will be moved eventually.

 

To see what you have selected, go to the Reorder pulldown menu and choose 'Move to Front'.

 

To just obliterate it, simply press the delete key while it is selected.

 

In the future, Cut/Paste should be used sparingly and carefully, especially when structures are involved.  It rarely ends well (at least for me).  If you are really using the same function in more than one place I would strongly consider a SubVI.

 

I'll resist the temptation to comment on the nesting of case structures and sequences.....

0 Kudos
Message 2 of 3
(2,436 Views)

If you copy-paste a structure you'll create copies of all controls and indicators used, whereas if you ctrl+drag you'll duplicate the code but use the same controls. It can cause some baldness. 😉

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 3
(2,423 Views)