|
Re: Programming a Third Joystick in Labview
The Driver Station supports up to four USB joysticks/game controllers. It also supports custom switches and analog inputs through a Cypress SoC.
Open the additional joysticks exactly as you see the first one done in Begin.vi, selecting USB2 or USB3 instead of USB1, and giving them unique names for the RefNum Set. Read them exactly as you see the first one being read in Teleop.vi, providing the appropriate name to the RefNum Get. Close them exactly as you see the first one being closed in Finish.vi, again providing the appropriate RefNum name.
|