View Single Post
  #4   Spotlight this post!  
Unread 27-01-2010, 11:34
jsprigg's Avatar
jsprigg jsprigg is offline
Mad Scientist
AKA: Jeff Sprigg
FRC #1547 (Where's Waldo?)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Ontario, Canada
Posts: 7
jsprigg is an unknown quantity at this point
Send a message via ICQ to jsprigg Send a message via AIM to jsprigg Send a message via Yahoo to jsprigg
Red face Re: Labview Joystick Input Example code not working

Quote:
Originally Posted by Doug Norman View Post
I just ran the LabVIEW Joystick Input Example - it worked for me. I have the Driver Station running, and I can read the joystick in Teleop Enabled or Teleop Disabled. A couple things to check:
1. On the DS Setup tab, do you see your joystick in the Joystick Setup list?
2. If you click the main button on your joystick, does the text in the Joystick Setup turn blue?
3. On the DS Diagnostics tab, are you getting any errors?

Now I feel stupid.

I just realized what we were doing wrong. The DS must be running when we run our code (DUH). We never had it running during testing. Guess I need to read the instructions more closely rather than 'skim' to the highlights.

See last year we would take for granted that the DS (blue box) handled the joysticks etc... for us. The new DS (laptop) can't handle I/O unless the DS software is running - which makes perfect sense.

Thanks for putting me on the right track. We'll give it a whirl tonight.

Cheers!

- Jeff
__________________
Fresh Pancreas!