Go to Post "What we really need to make sure we do is make our robot move." - Barngirl425 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-10-2011, 23:25
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 28-10-2011, 00:23
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
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.)
__________________
Mike B
Reply With Quote
  #3   Spotlight this post!  
Unread 28-10-2011, 00:55
Aren Siekmeier's Avatar
Aren Siekmeier Aren Siekmeier is offline
on walkabout
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: 대한민국
Posts: 735
Aren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond repute
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 28-10-2011, 12:50
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
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.
__________________
Mike B
Reply With Quote
  #5   Spotlight this post!  
Unread 19-11-2011, 17:45
Sconrad Sconrad is offline
Registered User
AKA: Connor Young
FRC #0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Yorktown
Posts: 40
Sconrad is an unknown quantity at this point
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 "
Reply With Quote
  #6   Spotlight this post!  
Unread 19-11-2011, 20:29
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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