View Single Post
  #6   Spotlight this post!  
Unread 30-03-2009, 20:42
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Programming toggle switches to DS for different autonomous routines?

If this helps, there is a dipswitch on the cRIO that is readily available for user use (a light too). If you only have two types of autonomous modes, you can use that switch to change modes before each match starts. In LabVIEW, the VIs for getting the switch state and controlling the light are in the driverstation palette, I think. Someplace like that, look around.

Here's a very helpful manual about the cRIO that mentions these things:
http://decibel.ni.com/content/docs/DOC-2632
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote