Go to Post Imagine the pressure on Dave Lavery - every time he sneezes someone assumes it's a game hint. - Gary Dillard [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-16-2013, 11:49 PM
Pirate King Pirate King is offline
Team Captain
FRC #0354 (Westinghouse Pirates)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: New York
Posts: 15
Pirate King is an unknown quantity at this point
cRio slot 4 programming

My team has the 8-Slot cRio and we are planning on using a second Pneumatics Bumper module in the fourth slot. The only problem is that i just cannot get it to work. In java when it asks for the module number i put "4" and for the channel i put "1". Whenever i run this it get errors and the code does not run. How do i solve this problem?
Reply With Quote
  #2   Spotlight this post!  
Unread 02-16-2013, 11:56 PM
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,697
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: cRio slot 4 programming

The 4th Slot of an 8-slot cRIO is not used.
You need to put the second Solenoid Module in slot 7.
In Java, the second Solenoid Module is referenced as "2", not by the physical slot it is in.
  • Slot 1 - Analog module (required)
  • Slot 2 - Digital module (required)
  • Slot 3 - Solenoid module
  • Slot 4 - unused
  • Slot 5 - Analog module
  • Slot 6 - Digital module
  • Slot 7 - Solenoid module
  • Slot 8 - unused
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 02-17-2013, 12:08 AM
Pirate King Pirate King is offline
Team Captain
FRC #0354 (Westinghouse Pirates)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: New York
Posts: 15
Pirate King is an unknown quantity at this point
Re: cRio slot 4 programming

Thanks! I'll try that out. By the way where did you get this information from?
Reply With Quote
  #4   Spotlight this post!  
Unread 02-17-2013, 08:59 AM
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,697
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: cRio slot 4 programming

It's from:
Wiring the 2013 FRC Control System


However, beware the column headers are switched.
It has cRIO FRC II then cRIO FRC, but the column underneath each one is really the listing for the other cRIO hardware version.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-17-2013 at 09:01 AM.
Reply With Quote
Reply


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 07:53 AM.

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