Go to Post In my line of work, we affectionately refer to this approach as "Seagull Engineering". Why? Because we swoop in, flap around making a lot of noise and commotion, leave a big mess of "stuff" behind and then fly off. - billbo911 [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 14-01-2012, 15:51
Herbblood's Avatar
Herbblood Herbblood is offline
Knowledgeable
AKA: Ally
FRC #3044 (OxBE4)
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2008
Location: Ballston Spa
Posts: 247
Herbblood is an unknown quantity at this point
Question Problem With cRIO.

Our team as found a problem with the new imaging. When imaged our cRIO, and uploaded code, but we find that the with the slots ont he Crio it showed several of the incompatiable. Any ideas as to why?
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2012, 16:09
rudun's Avatar
rudun rudun is offline
Registered User
FRC #0496 (Royals)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2005
Location: Babylon
Posts: 47
rudun is an unknown quantity at this point
Re: Problem With cRIO.

It is in the manual for setting up your control system. This year the slots and modules are moved to match the 4 slot C-Rio. So slots 1-3 would be analog, digital, solenoid. It sounds like you just have them in the wrong order.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2012, 17:34
techkid86's Avatar
techkid86 techkid86 is offline
Magic Programer
FRC #3044 (0xBE4)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: ballston spa
Posts: 58
techkid86 is an unknown quantity at this point
Re: Problem With cRIO.

the new imaging tool has the diagram of your cRIO on the right. hover your mouse over any slot in red. when you connect your computer to the cRIO and scan, and any module on the right is red, hover over it and it will tell you the problem. also if you hover over any empty slot, it will tell you what can go in there. we had the same issue today. your code might have to change your ports are. i am not sure. you should probably check what the new WPI library default is. hope this helps ^_^ (gonna keep watching this. our code does not work either, so i hope we both get help ^_^)

good luck, and go teams!
__________________
"you can build a perfect machine out of imperfect parts" -Urza
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2012, 17:37
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 990
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Problem With cRIO.

Quote:
Originally Posted by techkid86 View Post
the new imaging tool has the diagram of your cRIO on the right. hover your mouse over any slot in red. when you connect your computer to the cRIO and scan, and any module on the right is red, hover over it and it will tell you the problem. also if you hover over any empty slot, it will tell you what can go in there. we had the same issue today. your code might have to change your ports are. i am not sure. you should probably check what the new WPI library default is. hope this helps ^_^ (gonna keep watching this. our code does not work either, so i hope we both get help ^_^)

good luck, and go teams!
Check out the Java Getting started guide at:
firstforge.wpi.edu/sf/docman/do/listDocuments/projects.wpilib/docman.root.c_and_java_documentation

Page 15 and 16 detail the changes to the module order and how they are referenced.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2012, 18:36
techkid86's Avatar
techkid86 techkid86 is offline
Magic Programer
FRC #3044 (0xBE4)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: ballston spa
Posts: 58
techkid86 is an unknown quantity at this point
Re: Problem With cRIO.

thank you so much for that post. i found out what was wrong with my code, and maybe with yours as well. for a digital side care in slot 2, you program it to be in slot 1. if it is in slot 6, program it as slot 2. they remade the entire lib and image so for as to work with the mini cRIO easier. personally, i liked it better the other way, but i hope this helps you too.

static Jaguar one= new Jaguar(1, 3); //makes a jag for slot 2 on the cRIO and PWM 3 (sense made to me? 0)

good luck, and go teams! ^_^
__________________
"you can build a perfect machine out of imperfect parts" -Urza
Reply With Quote
  #6   Spotlight this post!  
Unread 14-01-2012, 22:35
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
That's correct. The first module of any type (slots 1-3) are number 1 and the second module of any type (slot 5-7) is number 2. In previous years we used the slot number. This year we are using the module number.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
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 13:01.

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