Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Adding More than 4 Joysticks to an FRC LabVIEW Program (http://www.chiefdelphi.com/forums/showthread.php?t=124552)

wre136 12-01-2014 22:50

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?

lucas.alvarez96 12-01-2014 23:14

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?

Mark McLeod 12-01-2014 23:16

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.

Joe Ross 12-01-2014 23:17

Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
 
Quote:

Originally Posted by lucas.alvarez96 (Post 1326238)
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?

The driver station only sends 4 joysticks to the robot. See http://wpilib.screenstepslive.com/s/...ation-software

Quote:

New for 2014 - This box now shows up to 6 joysticks to allow use of the full 4 devices when only using 1 part of a compound device such as the TI Launchpad. Only the first 4 devices are transmitted to the robot!!!

Alan Anderson 13-01-2014 09:26

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.

Racer26 13-01-2014 10:35

Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
 
What application could you possibly need 6 joysticks for to control one robot?

wre136 14-01-2014 18:30

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.

Racer26 14-01-2014 20:11

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

Whippet 14-01-2014 21:20

Re: Adding More than 4 Joysticks to an FRC LabVIEW Program
 
Or, you know, have six sets of push buttons on a cypress board...

Alan Anderson 14-01-2014 22:10

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.

wre136 16-01-2014 21:41

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.

Jmulderig 17-01-2014 08:04

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