Go to Post A lot of people posting without first hand knowledge, that's fun. - Aren_Hill [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 06-12-2006, 13:15
tux tux is offline
Registered User
AKA: Lee Harr
FRC #3842 (Shock-a-Bots)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, NY
Posts: 91
tux is an unknown quantity at this point
OI switch input duplication

Hi;

I am trying to understand this section from ifi_aliases.h (~ line 50)

"""
Ports 1 & 3 have their inputs duplicated in ports 4 & 2 respectively. The
inputs from ports 1 & 3 may be disabled via the 'Disable' dip switch
located on the Operator Interface. See Users Manual for details.
"""

I looked for further reference in the manual, but I am not sure which
document I should be looking in.

Anyone have a better reference, or can say something more
about what "have their inputs duplicated" means?

What is it used for?
  #2   Spotlight this post!  
Unread 06-12-2006, 13:24
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: OI switch input duplication

Lee,
A check of the OI manual will make things more clear. There is only so many inputs so IFI duplicated the inputs between the input ports 1-4. If you check the OI reference you will see a listing for each port and where it is mapped. This arrangment makes the OI more flexible for the user.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #3   Spotlight this post!  
Unread 06-12-2006, 13:40
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,031
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: OI switch input duplication

This whitepaper has exactly what you are asking presented very clearly. Hope it helps!
  #4   Spotlight this post!  
Unread 06-12-2006, 15:20
tux tux is offline
Registered User
AKA: Lee Harr
FRC #3842 (Shock-a-Bots)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, NY
Posts: 91
tux is an unknown quantity at this point
Re: OI switch input duplication

So... "duplicated" means "wired together" ?

When the dipswitch is in the right position, there is no difference between pressing port 1 trigger and port 4 trigger. Is that right?

I thought I had all of the manuals, but I guess I never downloaded the OI reference. Trouble is, now I can't find any of the documentation on the new FIRST website. Anyone have a direct link to the docs?

I looked at the whitepaper/spreadsheet. It says:

"""
Disable dipswitch near the bottom of the OI, allows the
disabling of trigger and thumb buttons for ports 1 + 3,
meaning that only the "same as" switches on ports 2 + 4
control the port 1 + 3 trigger, thumb, and aux buttons
"""

So, flipping the dipswitch will make it so that only port 4 controls the value of p1_sw_trig?

Does anyone have a "for example" of how you might use this?

Thanks for your time.
  #5   Spotlight this post!  
Unread 06-12-2006, 15:29
Donut Donut is offline
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,306
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: OI switch input duplication

IFI has most of the documentation you need for the OI I believe:

http://www.ifirobotics.com/oi.shtml

The reason for being able to do this is basically user convenience; if I hook up joysticks to ports 1 & 3, but need to use more inputs for my control system than is available from just 2 & 4, I can "steal" the inputs from 1 & 3. This saves me the hassle of having to build a special connector in between the joystick and competition port on ports 1 or 3 so that I could use their inputs.

Our team has done this numerous times, it can really be quite useful (especially when you're using 13 of your 16 digital inputs).
__________________
FRC Team 498 (Peoria, AZ), Student: 2004 - 2007
FRC Team 498 (Peoria, AZ), Mentor: 2008 - 2011
FRC Team 167 (Iowa City, IA), Mentor: 2012 - 2014
FRC Team 2662 (Tolleson, AZ), Mentor: 2014 - Present
  #6   Spotlight this post!  
Unread 06-12-2006, 16:17
tux tux is offline
Registered User
AKA: Lee Harr
FRC #3842 (Shock-a-Bots)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, NY
Posts: 91
tux is an unknown quantity at this point
Re: OI switch input duplication

Ah... It's all starting to make sense now!

Port 4 has access to BOTH sets of digital switches. You would need a customized controller in order to access the port 1 switches from port 4.

And the same between port 3 and port 2.

Thanks for the links and explanations!
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Input railerobotics Programming 4 29-08-2006 00:54
Need Help Wiring Micro Switch/Limiting Switch Windward Electrical 2 07-02-2006 18:26
Powered OI input EricS-Team180 Programming 7 28-09-2003 21:23
Graphic Input Raven_Writer Computer Graphics 7 08-08-2003 15:43
2.5 is alive !!!! (input ! .. more input ! ) Lloyd Burns Programming 2 14-01-2003 19:15


All times are GMT -5. The time now is 17:47.

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