View Single Post
  #4   Spotlight this post!  
Unread 12-03-2010, 08:43
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 103
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Re: How To program the second joystick?

Quote:
Originally Posted by cardozo View Post
Hey everyone!!! Im from team 2121,
originally, we have only one joystick to do both drive and activate the pneumatic kicker. However, that has made the job more difficult because the driver sometimes can not concentrate on driving.
So we decide to use the 2nd joystick for the pneumatic kicker.
This is how I start

Open.vi: joystick open (joy device - usp2) --> refnum registry set (refum name - joystick 2)

Teleop vi: refum registry get( refum name - joystick 2) --> joy get --> button 1

Finish vi: refum registry get ( refum name - joystick 2) --> joy close

However, it doesnt work. the robot doesnt respond when I press the trigger.
Please let me know if there is anything wrong with this code. Thank you

Team 2121
We've also had this exact same problem, with no solution. I'd be interested if anyone has any other ideas. Even reinstalling Labview didn't help.
Reply With Quote