Go to Post Dedication to FIRST gets more challenging as life gets more complicated but the rewards are SOOOOO worth it! - Sean Schuff [more]
Home
Go Back   Chief Delphi > Technical > National Instruments 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 11-02-2009, 19:34
dr_jack3l dr_jack3l is offline
Registered User
FRC #2147
 
Join Date: Feb 2009
Location: Spokane
Posts: 3
dr_jack3l is an unknown quantity at this point
Defining a joystick

Hey, how do you set the buttons on a joystick? For example, we are trying to program the trigger on our joystick to operate a motor for a pulley system.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2009, 09:59
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,112
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: Defining a joystick

You "set" the value of joystick buttons by physically pressing them.

You read the value by using the Joystick Get VI. One of that VI's outputs is a cluster containing all the button states. Unbundle the cluster and you have access to each button individually.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Defining First code? mormannoob Programming 4 17-01-2008 23:36
Defining Leadership Bomberofdoom General Forum 8 17-09-2007 14:58
Joystick Danny McC Control System 2 03-02-2007 18:21
Defining file name? Mike Programming 2 08-02-2006 17:28
Joystick rmmlg Inventor 0 15-02-2004 16:34


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

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