![]() |
Adding More than 4 Joysticks to an FRC LabVIEW Program
I am building a program for my FRC team and I have need to have up to six controllers. However, the Open Joystick VI only allows up to 4 USB inputs. Is there a way to increase this number or is it is a limitation of the driver station?
|
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
The driver station software shows 6 inputs in the input list....I don't know much about labview (besides making a simple tank drive), but maybe you could try giving the vi an int?
|
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
Your two drivers can hold three controllers each :yikes:
We are limited to 4 USB ports plus one Cypress set of inputs. If you can figure out a way to multiplex some of the controllers to look like a single USB input then you might have a chance. The Cypress with some wiring can be made to pass through joystick/button type information. |
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
Quote:
Quote:
|
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
The 4-joystick limit is solid, but that applies only to joystick data sent by the Driver Station program. If you write your own Dashboard, you can have it read anything you want and send the data using your choice of protocol, then receive that data in your own program on the robot, without worrying about the Driver Station limitations.
|
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
What application could you possibly need 6 joysticks for to control one robot?
|
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
It's a game scoring application. Rather than writing down our scoring on paper for a match, students can just hit a bottom to say a team scored high goal, hit another to say a team scored low goal. That way results are automatically put into excel form.
Since there are 6 teams on the field, that is way I would like 6 controllers. |
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
Why are you using a robot controller and driver station to do it though? Just build a native LabVIEW app that runs on windows and talks directly to the controllers...
|
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
Or, you know, have six sets of push buttons on a cypress board...
|
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
Are you trying to read joysticks that are directly connected to the computer running the LabVIEW program? You can't use the Joystick Open vi for that; it's only for use with a robot program being controlled by a Driver Station.
Look at the Input Device Control functions in the Connectivity subpalette. |
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
1 Attachment(s)
Thank you for your help and direction on this. I wasn't sure how to grab joystick input directly in LabVIEW. The connectivity pallet did have everything I needed as stated and once initialized, worked much the same as the joystick VI for FRC.
|
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
search for "Falcon robotics scouting" and talk to them...They developed a similar program last year although it wasnt in labview. they may have some insight
|
| All times are GMT -5. The time now is 03:11. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi