Log in

View Full Version : probably a noob question


EROCK
05-01-2009, 19:49
ok I have looked through NI's FIRST website in the hopes that I might find a tutorial that shows me how to program the buttons on the joysticks for certain function such as servos and pneumatic items. Is there such a tutorial that exists in NI's giant emporium of Help? I AM SO LOST

whitetiger0990
06-01-2009, 01:31
Are you having trouble getting the button values?

The Joystick Get returns a cluster that holds all the button values. These values are boolean and can be used with Case structures. See the attached picture.

Here is the 2009 Control Systems page

http://usfirst.org/community/frc/content.aspx?id=10934

I suggest reading:

Getting Started with LabVIEW for FRC
LabVIEW Robotics Programming Guide for FRC
LabVIEW FRC Help Document
Using the LabVIEW FRC Framework

Mark McLeod
07-01-2009, 13:24
Here's a simple example of a solenoid connected to the trigger (button 1) on joystick 2.