View Single Post
  #1   Spotlight this post!  
Unread 13-02-2010, 11:33
Team1824 Team1824 is offline
Registered User
FRC #1824
 
Join Date: Oct 2008
Location: Peterborough
Posts: 14
Team1824 is an unknown quantity at this point
global variables and autonomous independent

Okay, I have been looking around but I haven't really found the answer to this question. I want to have several cases in autonomous independent that will depend on what field position we are in. I have read something about making a global variable in the finish.vi or something but I don't know anything about global variables. my idea is to put a case structure around all of the autonomous independent and then use the variable to select the case. Is this possible? my cases will be named 1, 2, 3 etc. how do I get the global variable to be read as a number and be wired to a case structure? thanks in advance.
__________________
Team 1824
Reply With Quote