View Single Post
  #47   Spotlight this post!  
Unread 06-02-2013, 07:42
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: General LabVIEW questions from a VERY new user

Quote:
Originally Posted by ctccromer View Post
Still a little confused how I can tell the drive station or robot to pick (ex) Autonomous Mode 2 of 5. So if we wanted we could have an Auto Mode for the back of the period and the front, and choose between them at the last minute.
Either use the Dashboard to set a value that you then read on the robot using the SmartDashboard functions, or just use what's on the I/O tab of the Driver Station.

Quote:
Originally Posted by ctccromer View Post
And also how to separate multiple Autonomous Modes in the programming
Turn Autonomous Independent into a single large Case block. Put each mode's code in a separate case and use the value you receive from the Driver Station (or the Dashboard) to select which case gets executed.
Reply With Quote