|
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
|