Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Adding more axes and joysticks Confused! (http://www.chiefdelphi.com/forums/showthread.php?t=132628)

Tom317 11-01-2015 09:34

Adding more axes and joysticks Confused!
 
1 Attachment(s)
Hey, I am a rookie and I am trying to assign more axes and buttons on the code. I tried to use the unbundle thing according to the secret book of FRC but it gives me a broken wire. My question is how to assign more axes than just the x and y. How do I add more motors and what not. Am I doing it right? The teleop and begin below

Greg McKaskle 11-01-2015 10:02

Re: Adding more axes and joysticks Confused!
 
The secret book is a year behind. The new joystick VIs now support more buttons and more axes. In order to do this, the datatype isn't a cluster that you unbundle, but an array that you index.

To access the third axis, put the mouse cursor on the bottom edge of the node that accesses X and Y, and grow it down by one ... or more.

The same node can be used for buttons.

Greg McKaskle


All times are GMT -5. The time now is 08:54.

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