View Single Post
  #16   Spotlight this post!  
Unread 28-03-2012, 21:19
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Re: Unable to run cRIO with cRIO2 program

Wahoo! finally works with everyone's help. No more buzzing/intermittent operation of my shooting motors during Auton operation.

Stewing on the Auton and Periodic linkage (Mark) on the drive home from Pontiac, MI to Royal Oak I began thinking about how to disable the Periodic functions during Auton without changing my basic programming structure (using large case statement ring around nearly all periodic functions). Then, I read your message, Greg, and was off to the races. I am using continous, free-running timer inside Auton and made a simple compare statement inside Periodic to make sure I was above 0 seconds while below 15 seconds and voila! no buzzing.

Thanks Mark, Alan and Greg for you help! Now, I'm ready for the Troy, MI district tournament starting tomorrow ready to score in Auton.
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377
Reply With Quote