Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Cool new LabVIEW features - Clean up diagram portion (http://www.chiefdelphi.com/forums/showthread.php?t=98029)

Joe Ross 27-10-2011 23:25

Cool new LabVIEW features - Clean up diagram portion
 
Next year, LabVIEW is being updated to LabVIEW 2011. The previous version of LabVIEW for FRC was version 8.6, released in 2008. There have been a lot of neat features released in LabVIEW in the last 3 years. I intend to highlight several of these features that I think are relevant to FIRST. Look for more posts in the upcoming months.


With LabVIEW 8.6, NI introduced the clean up diagrams button. For small diagrams, I thought it worked great at cleaning up my messy diagrams. However, the larger and more complicated the diagram got, the worse it handled it. Now, you can select just a portion of the diagram, and it will only clean up the selection. In my testing, it works great for the smaller selections, without completely ruining the full diagram.

SuperS_5 28-10-2011 00:23

Re: Cool new LabVIEW features - Clean up diagram portion
 
You can also do the opposite, and choose what NOT to clean up. It works on most (all?) of the structure nodes. (Eg. Case structures, and loops.) Right click on the the structure and click "Exclude from diagram cleanup." From now on, when you use the Diagram clean up on the whole VI, this node, and everything inside no longer gets "scrambled."

Between the exclude from clean up feature, and the clean up selection feature, the clean up block diagram function becomes actually handy. (No longer just called the VI scrambler.)

Aren Siekmeier 28-10-2011 00:55

Re: Cool new LabVIEW features - Clean up diagram portion
 
What's funny is I used to just do this by copying the relevant section of the code into a new VI and hitting the cleanup button, and then copying it back over.... I must say this will make life easier.

SuperS_5 28-10-2011 12:50

Re: Cool new LabVIEW features - Clean up diagram portion
 
I actually don't use it much on my own VIs. I insist that we make clean code form the start. This tool is definitely handy to fix VIs that come from other people.

Sconrad 19-11-2011 17:45

Re: Cool new LabVIEW features - Clean up diagram portion
 
Does anybody else use Ctrl+u to do the clean up diagram? That was how my team's programmers and I first learned it and for the life of us we could never figure out why u was chosen. We settled for calling the function "Undirty:D "

Greg McKaskle 19-11-2011 20:29

Re: Cool new LabVIEW features - Clean up diagram portion
 
Seeing as how the LV editor has been around for 25 years, it isn't uncommon for new features to be given a shortcut key based on what is left. Mnemonics are great, but at some point all the good stuff is taken.

Greg McKaskle


All times are GMT -5. The time now is 09:25.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi