11-02-2012 02:57 PM - edited 11-02-2012 03:02 PM
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
11-02-2012 03:12 PM
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.....
11-02-2012 03:41 PM
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