Go to Post I'm down with banning the Chicken Dance (and take the Macerena with you when you go)! - Koko Ed [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 30-01-2012, 16:23
Team 1908 Team 1908 is offline
Registered User
FRC #1908
 
Join Date: Jan 2012
Location: Eastville
Posts: 3
Team 1908 is an unknown quantity at this point
Programming a Third Joystick in Labview

Hello, my team consists of fairly new programmers and so we are struggling to get our program together. This year, my team wants to use 2 joysticks for driving the robot and another extra joystick that controls our shooter. Is there a way to do this? The 3rd joystick would be used to angle our shooter and release the ball to be shot. Please help!
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2012, 16:52
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Programming a Third Joystick in Labview

The Driver Station supports up to four USB joysticks/game controllers. It also supports custom switches and analog inputs through a Cypress SoC.

Open the additional joysticks exactly as you see the first one done in Begin.vi, selecting USB2 or USB3 instead of USB1, and giving them unique names for the RefNum Set. Read them exactly as you see the first one being read in Teleop.vi, providing the appropriate name to the RefNum Get. Close them exactly as you see the first one being closed in Finish.vi, again providing the appropriate RefNum name.
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 07:27.

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