Go to Post A career is never static. - Bill Moore [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 29-01-2013, 07:11
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: Classmate USB Question?

Unfortunately, USB drivers and APIs don't really support the 1, 2, 3 notion. We tried really hard to make it work that way, but any given USB hub and computer would be different anyway. Notice they aren't labeled on the computer?

The typical usage is that you plug in a mouse, keyboard, printer, etc. But typically one or a small number of each type. They don't care where it is plugged, the app asks for the printer and it works.

When you plug in many of the same device, it should be possible to use the device serial number to identify your joysticks and remember that you use that one for left and that one for right. But the problem is that all the joysticks of the same make and model have the same serial number. Bummer.

So finally, what we did was do a lookup table. If you plug in the joysticks and then start the app, I think you'll find that it enumerates the joysticks the same each time. You can check or change the identity on the Setup tab. I don't think you'll need to change it very often.

Greg McKaskle
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 01:05.

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