View Single Post
  #2   Spotlight this post!  
Unread 12-01-2009, 16:43
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,658
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: buttons in LabView

The buttons on your joystick have nothing to do with the buttons on the button palette in Labview. You should only be using buttons on your labview front panel for testing purposes or to represent inputs into a subVI.

To access the buttons from the joysticks, you need to use the "joystick" functions in the block diagram. If you're using the v2 update, these are located in the following sub menu of the function palette: "WPI Robotics Library |> DriverStation |> Joystick"

There are various functions there for opening, closing, and reading the values of joysticks. Note that they do not need any buttons defined on the front panel in order for them to work.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote