Go to Post Honestly, no one at a FIRST competition is gonna judge you. Chances are, there are least 20 people dorkier than you. - JohnnyB [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 11-01-2015, 09:34
Tom317 Tom317 is offline
Registered User
FRC #5739
 
Join Date: Jan 2015
Location: Dallas,Texas
Posts: 4
Tom317 is an unknown quantity at this point
Adding more axes and joysticks Confused!

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
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	30
Size:	66.7 KB
ID:	17805  
Reply With Quote
  #2   Spotlight this post!  
Unread 11-01-2015, 10:02
Greg McKaskle Greg McKaskle is online now
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
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: 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
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 08:03.

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