Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interface? (http://www.chiefdelphi.com/forums/showthread.php?t=101726)

Quellek2 01-02-2012 17:34

How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interface?
 
We want to use them as a way of controlling the max power, but we have no idea how to get data from them. Anyone know?0

Joe Ross 01-02-2012 17:50

Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf
 
It's axis 3.

sometimestommy 02-02-2012 10:02

Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf
 
Yes. It is axis 3 on your joystick.

All you have to do is to unbundle the joystick and then "select" axis 3 from the context menu on the unbundle by name.

Important! Check the value on the scroll wheel as it could go past 1 or -1 which is really bad for motor control (since they only go to these values)

Quellek2 02-02-2012 16:40

Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf
 
Huh. Not sure how I missed that one. Thanks! :D

Wildcat Robotic 05-02-2012 02:04

Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf
 
If you take the value of Axis 3 and add 1 then divide by 2, it changes the scale from [-1, 1] to [0, 1]. Just a helpful hint if you wanted to use it to control one direction of a motor. :)


All times are GMT -5. The time now is 11:31.

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