View Single Post
  #5   Spotlight this post!  
Unread 16-02-2013, 01:36
nicholsjj's Avatar
nicholsjj nicholsjj is offline
Registered User
AKA: John Nichols
no team (Devil Bots)
Team Role: Coach
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Murpyhsboro, IL.
Posts: 261
nicholsjj has a brilliant futurenicholsjj has a brilliant futurenicholsjj has a brilliant futurenicholsjj has a brilliant futurenicholsjj has a brilliant futurenicholsjj has a brilliant futurenicholsjj has a brilliant futurenicholsjj has a brilliant futurenicholsjj has a brilliant futurenicholsjj has a brilliant futurenicholsjj has a brilliant future
Re: Help! Labview manipulator code doesn't function!

Quote:
Originally Posted by Mark McLeod View Post
I just pointed that out because it's an obvious error. Use of the Set instead of the Get is causing extra work, because it keeps replacing the Refnum entry 50 times a second for Joystick 3. I don't know what grief that might be causing elsewhere, but I suppose it could be suffering from a propagation delay. At the least it's probably wiping out the Joystick cache.

For debugging you can run Test mode from the Driver Station to see if all the devices show up on the Dashboard Test tab, and from there you can test each of them by clicking on "value", then using the control that appears at the bottom of the Test tab. That'll bypass the Joystick to remove it from consideration (or point to it as the culprit).

BTW, the button operating the solenoid should light a status LED on the Solenoid Breakout if it's working. You don't need the pneumatic system to see if that's responding properly.
Thanks Mark, So the reference would just be called in teleop. So that smaller motors such as a vex (or in my case it was a FP) would then execute but the large CIM's wouldn't receive a steady impulse long enough to run.
__________________
2011-FRC Team 3862, Team Captain
2012-FRC Team 3862, Strategy Mentor
2013-FRC Team 3885, Programming Mentor, Razorback Regional, Curie Inspector
2014- FRC Team 3885, Programming Mentor, Arkansas Regional, Newton inspector
2015-??? Teacher Murphysboro High School


“They call it coaching but it is teaching. You do not just tell them…you show them the reasons.”- V. Lombardi