View Single Post
  #4   Spotlight this post!  
Unread 31-01-2011, 15:25
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Using the Framework properly

Quote:
Originally Posted by gnunes View Post
Thanks for the quick and helpful reply. In the above quote, I am assuming that you are using the Royal "our", meaning everyone using the FRC Robot Framework in LabVIEW.

That means I/we should close all references in the Teleop VI, instead of the Finish VI (in contradiction to the advice in the FRC Mastery videos...)
That's an all-inclusive "our".

Do not close references except in Finish.vi.

Just don't worry about Finish.vi running or not.
We're killing the robot power to stop our robots, so there will never be time left over to run the Finish.vi, but for our purposes the devices we open are by default closed by the lack of power to keep them running.
The next time we start is a power-up and a fresh start for the software. It's just the particular way we are doing things.
Out in industry or at University it's more common to open and close devices without throwing a circuit breaker to accomplish it...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote