LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to clean up all the wires at once?

I'm a newbe..

Is there a way to clean up all the wires at once?
0 Kudos
Message 1 of 19
(7,518 Views)
Greetings, Newbie~
Try Ctl+B

That gets rid of all your broken wires


Good luck, and welcome!

Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
Message 2 of 19
(7,517 Views)
Chris Labview;

Yes. From the Edit menu, select "Remove Broken Wires". The keyboard shortcut is Control+B.

Regards;
Enrique Vargas
www.visecurity.com
www.vartortech.com
0 Kudos
Message 3 of 19
(7,517 Views)
I guess you are not looking for a way to remove broken wires (^b), but to do the equivalent of "right-click...Clean up Wire", but for all wires at once.

AFAIK, this is not possible and I'm not sure if that would be very useful.
Message 4 of 19
(7,517 Views)
> AFAIK, this is not possible and I'm not sure if that would be very useful

This is actually possible using scripting (see attached llb). Wether it is usefull or not, it is another story.

PJM


  


vipm.io | jki.net

Message 5 of 19
(7,518 Views)
Sweeeeeet VI Good job. how did you get the ref to the block diagram. I have been looking for it.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 6 of 19
(7,516 Views)
Hi

Open the Block Diagram of the vi named "Open Block Diagram Refnum.vi" and read the note I put in here. It says "Exposed in several location:
ex: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterConnector.vi"

For more scripting utility and exposed primitive go to the LAVA forum and check this Sub Forum:
http://forums.lavausergroup.org/index.php?showforum=29

Cheers

PJM


  


vipm.io | jki.net

Message 7 of 19
(7,515 Views)
it's A whole new world. HMM lets explore.

thank you



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 8 of 19
(7,515 Views)
All,

I just wanted to add a note to point out that scripting is unsupported and you should be cautious about using it. In the VI attached you can not undo the cleaning of the wires. So if the results where not what you expected you are left with them.

Evan
National Instruments
Message 9 of 19
(7,515 Views)
> In the VI attached you can not undo the cleaning of the wires.

That is true, but it is easy to modify it to check the result before saving.

>scripting is unsupported and you should be cautious about using it.

Absolutly; I can even say that some functions may occasionally crash labview.

Although for me the advantages of scripting are greater than the risks involved in using it, it might not be the case for every one.

Enjoy (with caution)

PJM


  


vipm.io | jki.net

Message 10 of 19
(7,516 Views)