Go to Post Getting your questions answered is what the big thick manual is for....GO READ. - Dorienne [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-01-2014, 22:50
wre136's Avatar
wre136 wre136 is offline
Registered User
AKA: Will Edds
FRC #2461 (The METAL-SKINS)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Oklahoma City
Posts: 30
wre136 is an unknown quantity at this point
Question 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?
  #2   Spotlight this post!  
Unread 12-01-2014, 23:14
lucas.alvarez96's Avatar
lucas.alvarez96 lucas.alvarez96 is offline
Registered User
AKA: Lucas Alvarez
FRC #2576 (Chilean Heart)
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Chile
Posts: 123
lucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to all
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?
  #3   Spotlight this post!  
Unread 12-01-2014, 23:16
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program

Your two drivers can hold three controllers each

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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 12-01-2014 at 23:24.
  #4   Spotlight this post!  
Unread 12-01-2014, 23:17
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program

Quote:
Originally Posted by lucas.alvarez96 View Post
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!!!
  #5   Spotlight this post!  
Unread 13-01-2014, 09:26
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
  #6   Spotlight this post!  
Unread 13-01-2014, 10:35
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program

What application could you possibly need 6 joysticks for to control one robot?
  #7   Spotlight this post!  
Unread 14-01-2014, 18:30
wre136's Avatar
wre136 wre136 is offline
Registered User
AKA: Will Edds
FRC #2461 (The METAL-SKINS)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Oklahoma City
Posts: 30
wre136 is an unknown quantity at this point
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.
  #8   Spotlight this post!  
Unread 14-01-2014, 20:11
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
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...
  #9   Spotlight this post!  
Unread 14-01-2014, 21:20
Whippet's Avatar
Whippet Whippet is offline
MIT Class of 2020
AKA: Luis Trueba
FRC #4301 (New Tech Narcissists)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cambridge, MA
Posts: 1,187
Whippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond repute
Send a message via Yahoo to Whippet
Re: Adding More than 4 Joysticks to an FRC LabVIEW Program

Or, you know, have six sets of push buttons on a cypress board...
__________________
2010: FRC 3043, Build Assistant
2011: FRC 3043, Head of Minibot subteam; FLL 12762, Team Captain
2012: FRC 3043, Electrical; FLL 12762, Team Captain; FTC 5670, Team Captain
2013: FRC 4301, Electrical, Team Co-Captain
2014: FRC 4301, Electrical/Programming, Team Co-Captain
2015: FRC 4301, Electrical/Programming, Team Captain
2016: FRC 4301, Chief Technical Officer; FTC 10860, 10861, and 11004: Mentor. Winner, Hub City Regional (3310 & 4063)
  #10   Spotlight this post!  
Unread 14-01-2014, 22:10
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
  #11   Spotlight this post!  
Unread 16-01-2014, 21:41
wre136's Avatar
wre136 wre136 is offline
Registered User
AKA: Will Edds
FRC #2461 (The METAL-SKINS)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Oklahoma City
Posts: 30
wre136 is an unknown quantity at this point
Thumbs up Re: Adding More than 4 Joysticks to an FRC LabVIEW Program

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.
Attached Thumbnails
Click image for larger version

Name:	Joystick Example.PNG
Views:	23
Size:	4.4 KB
ID:	15849  
  #12   Spotlight this post!  
Unread 17-01-2014, 08:04
Jmulderig Jmulderig is offline
Registered User
FRC #3460
 
Join Date: Feb 2012
Location: Brentwood
Posts: 21
Jmulderig is an unknown quantity at this point
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
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi