Go to Post I am as certain as can be on this issue ... believe me. - Paul Copioli [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition > LabView and Data Acquisition
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 28-01-2006, 12:56
mfwit mfwit is offline
Registered User
AKA: Matt Witmer
FRC #1640 (SaBOTage)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Downingtown, PA
Posts: 5
mfwit is an unknown quantity at this point
Location of trig, top, aux1, aux2 bits?

What byte contains the trig, top, aux1 and aux2 bits?

I have the OI jumper set and just cant seem to find those bits anywhere.
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2006, 13:52
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Location of trig, top, aux1, aux2 bits?

Quote:
Originally Posted by mfwit
What byte contains the trig, top, aux1 and aux2 bits?
Looks like you're gonna have to go bit diving - try looking in the "SWITCHES_A", "SWITCHES_B", and the "PORT X AUX" bytes. I don't have a controller in front of me, but I would guess that SWITCHES_A and SWITCHES_B contains bits for all of the joysticks (one is top and one is trig I bet), and "Port X Aux" bytes would contain the particular port's auxilliary bytes.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2006, 14:10
mfwit mfwit is offline
Registered User
AKA: Matt Witmer
FRC #1640 (SaBOTage)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Downingtown, PA
Posts: 5
mfwit is an unknown quantity at this point
Re: Location of trig, top, aux1, aux2 bits?

The switches_A byte contains:

0-?
1-?
2-?
3-?
4- port 3 trig
5- port 3 top
6- port 3 aux1
7- port 3 aux2

Thanks for your help danny!
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 00:17.

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