Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   National Instruments LabVIEW and Data Acquisition (http://www.chiefdelphi.com/forums/forumdisplay.php?f=149)
-   -   Defining a joystick (http://www.chiefdelphi.com/forums/showthread.php?t=74190)

dr_jack3l 11-02-2009 19:34

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.

Alan Anderson 12-02-2009 09:59

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.


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

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