Go to Post Sports have the power to change culture in a way that games do not. - Nate Laverdure [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2009, 10:28
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Driver station only regognizes USB 1 and 2

If you'd like to post your code, I'm sure someone will take a look at it. I suspect that's probably where the issue is.
  #2   Spotlight this post!  
Unread 04-02-2009, 20:17
cvxdes cvxdes is offline
Registered User
FRC #0061
 
Join Date: Feb 2009
Location: Milford MA
Posts: 7
cvxdes is an unknown quantity at this point
Re: Driver station only regognizes USB 1 and 2

Quote:
Originally Posted by Mark McLeod View Post
Did you swap the joysticks around to be sure it isn't a joystick failure?
I did swap them, and had the same issue. I even plugged them into the computer to verify that they work... they do.

Quote:
Originally Posted by Tom Line View Post
If you'd like to post your code, I'm sure someone will take a look at it. I suspect that's probably where the issue is.
Not really sure how to share labview code, in php I'd just copy and paste.. so I'll screenshot it, I guess. Don't mind the random uncompleted code, I'm attempting to implement traction control and figure how to make buttons execute code. Got to tackle one thing at a time, though.
When I attempt to use USB 3 and 4, the following is what the numeric indicators read:
Numeric 5: always zero
Numeric 6: always zero

http://img520.imageshack.us/img520/3521/labviewmo6.png
  #3   Spotlight this post!  
Unread 05-02-2009, 01:27
Eugene Fang's Avatar
Eugene Fang Eugene Fang is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Bay Area, CA -> Pittsburgh, PA
Posts: 769
Eugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond repute
Re: Driver station only regognizes USB 1 and 2

Quote:
Originally Posted by cvxdes View Post
I did swap them, and had the same issue. I even plugged them into the computer to verify that they work... they do.



Not really sure how to share labview code, in php I'd just copy and paste.. so I'll screenshot it, I guess. Don't mind the random uncompleted code, I'm attempting to implement traction control and figure how to make buttons execute code. Got to tackle one thing at a time, though.
When I attempt to use USB 3 and 4, the following is what the numeric indicators read:
Numeric 5: always zero
Numeric 6: always zero

http://img520.imageshack.us/img520/3521/labviewmo6.png
Not exactly on topic, but i see that you are using 12 Boolean indicators to show the different buttons on the joystick. Might i suggest just creating an indicator on the output to the "Get Raw" VI (the pink wire), and it will be much less cluttered and you can still see each separate button on teh frontpanel.
__________________
Eugene Fang
2010 Silicon Valley Regional Dean's List Finalist

Various FLL Teams - Student (2000-2006), Mentor (2007-2010)
FRC Team 604 - Student (2007-2010), Mentor/Remote Advisor (2011-2015)
FRC Team 1323 - Mentor/Remote Advisor (2011-2014)

The Blue Alliance | TBA GameDay | TBA Android App
  #4   Spotlight this post!  
Unread 05-02-2009, 08:33
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Driver station only regognizes USB 1 and 2

Out of curiosity, are your joysticks already opened in the begin.vi?

You'll probably have this issue if you reopen those same joysticks again.
  #5   Spotlight this post!  
Unread 05-02-2009, 10:57
cvxdes cvxdes is offline
Registered User
FRC #0061
 
Join Date: Feb 2009
Location: Milford MA
Posts: 7
cvxdes is an unknown quantity at this point
Re: Driver station only regognizes USB 1 and 2

Quote:
Originally Posted by Tom Line View Post
Out of curiosity, are your joysticks already opened in the begin.vi?

You'll probably have this issue if you reopen those same joysticks again.
I actually haven't looked into any other vi's yet, just the sub-vi's. I've just been messing with main.vi. I'm not sure right now, I don't have access to labview right now, but I think begin.vi is only in the advanced framework?
Speaking of which, I tried the advanced framework, and the joysticks still do not work.
  #6   Spotlight this post!  
Unread 05-02-2009, 12:33
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Driver station only regognizes USB 1 and 2

Sorry, my mistake, I didn't realize you weren't using the advanced framework. That's the only one I've been spending time with.
  #7   Spotlight this post!  
Unread 05-02-2009, 14:40
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Driver station only regognizes USB 1 and 2

We just tested three joysticks with the basic framework, and all worked. If a simplified example will not work after a reboot, I'd diagnose it as a HW problem.

Greg McKaskle
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver Station S.O.S. M. Gildner Electrical 15 28-11-2009 19:35
Need Driver Station dekker120 FRC Control System 2 02-02-2009 12:59
driver station and cRIO firmware update help asianfez123 FRC Control System 1 16-01-2009 02:34
[FTC]: FTC Controller Station Connectivity (Bluetooth and USB) Issue jbbjjbt FIRST Tech Challenge 6 05-11-2008 11:49


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

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