Go to Post So many questions are answered when people actually read the rules. - Steve W [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-02-2014, 22:08
w8jrt w8jrt is offline
Registered User
FRC #4391
 
Join Date: Feb 2014
Location: Gladstone, Mi
Posts: 5
w8jrt is an unknown quantity at this point
Only one joystick works when two connected

We are trying to use two joysticks. they both show up on the drive station and if you activate anything on the joysticks the appropriate one will turn blue. In lab view we have usb1 associated with joystick 1 and usb 2 associated with joystick 2. no matter what we do only joystick one will work. if we reorder then on the driver station the control moves from one joystick to the other but only joystick 1 will work in labview. We've scoured he code looking for some inappropriate reference to joystick 2 that could be causing the error but we're stuck. Not sure what else to try. Any suggestion would be greatly appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2014, 22:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Only one joystick works when two connected

Check the Diagnostic tab for related error messages about joysticks or refnums.

Check the name given in Begin is exactly the same in Teleop where you are using it.
Better yet, copy the text box from Begin and paste it into Teleop and wire that in.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-02-2014 at 22:43.
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2014, 22:31
w8jrt w8jrt is offline
Registered User
FRC #4391
 
Join Date: Feb 2014
Location: Gladstone, Mi
Posts: 5
w8jrt is an unknown quantity at this point
Re: Only one joystick works when two connected

We'll give that a try and let you know how it worked out. thank you.
Reply With Quote
  #4   Spotlight this post!  
Unread 23-02-2014, 14:16
w8jrt w8jrt is offline
Registered User
FRC #4391
 
Join Date: Feb 2014
Location: Gladstone, Mi
Posts: 5
w8jrt is an unknown quantity at this point
Re: Only one joystick works when two connected

We tried copy the joystick references form begin and using them in teliop with out sucess. still did not work. when looking at the operators console we have no error messages for refnums or joysticks. Puzzling.
Reply With Quote
  #5   Spotlight this post!  
Unread 23-02-2014, 14:32
Owen Makin Owen Makin is offline
Registered User
FRC #1972
 
Join Date: Jan 2013
Location: CUHS El Centro
Posts: 50
Owen Makin is an unknown quantity at this point
Re: Only one joystick works when two connected

I think its the setup tab on the DS, IIRC, that has the joysticks connected to the computer. Check to see if they are listed and if they are in the correct slots 1 and 2.
Reply With Quote
  #6   Spotlight this post!  
Unread 23-02-2014, 14:32
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Only one joystick works when two connected

If you want to attach your vi's for Begin & Teleop we can check them out.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:14.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi