Go to Post I truly love zipties. They're so elegant - permanent, yet disposable. Strong, yet flexible. Ubiquitous, yet somehow.... special. - Kris Verdeyen [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 15-02-2011, 17:05
DarKCroNo's Avatar
DarKCroNo DarKCroNo is offline
Registered User
FRC #2670
 
Join Date: Dec 2007
Location: Toronto
Posts: 37
DarKCroNo is an unknown quantity at this point
Analog Module?

Our team was wondering if we are able to plug the analog module in any other slots, as the only space for the crio on our robot needs all the modules hanging around the back of the Crio (using slots 4-8). When we take a look at the driver station javadoc, it has a final value for the analog break out at slot 1.

All we use our analog module is for the battery voltage, if it is not possible to change the slot we are also wondering if it is required during the match
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2011, 17:12
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,572
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: Analog Module?

See <R61>.

There is no requirement that the analog breakout be connected directly to the NI 9201 module. You could purchase or make a 25 pin ribbon cable and relocate the analog breakout while keeping the 9201 module in slot 1.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2011, 13:58
wdell wdell is offline
Registered User
AKA: William Dell
FRC #3999 (Shadetree Mechanics)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Killeen, Texas
Posts: 55
wdell has a spectacular aura aboutwdell has a spectacular aura about
Re: Analog Module?

Quote:
Originally Posted by Joe Ross View Post
See <R61>.

There is no requirement that the analog breakout be connected directly to the NI 9201 module. You could purchase or make a 25 pin ribbon cable and relocate the analog breakout while keeping the 9201 module in slot 1.
In the past we've use a ribbon cable, and relocated the analog breakout into a separate plastic box to protect both the module and the connectors. However, I don't think that is what was being asked.

According to "How to Set Up Your Robot Control System", the cRio can be set up with 9201 (analog) modules in slots one and two, 9403 (digital) modules in slots 4 and 6, and a 9472 (solenoid) module in slot 8. The document also says you have to attach the analog breakout to the module in slot one. From what I can see this is not exactly true.

Example: To create a new gyro you would normally do
Code:
Gyro spin = new Gyro(1);
Where "1" is the analog channel, the first analog pin on the analog breakout. But you can also do
Code:
Gyro spin = new Gyro(2,1);
where 2 is the second cRio slot, and 1 is the 1st channel/pin on that slot.

To me this kind of implies you can move all your analog stuff to slot two, digital stuff to six, etc.

Haven't tried it myself (we don't even have a robot yet... don't ask), but might be worth looking into.
Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2011, 19:34
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Analog Module?

Quote:
Originally Posted by wdell View Post
According to "How to Set Up Your Robot Control System", the cRio can be set up with 9201 (analog) modules in slots one and two, 9403 (digital) modules in slots 4 and 6, and a 9472 (solenoid) module in slot 8. The document also says you have to attach the analog breakout to the module in slot one.
You can also put a 9472 in slot 7. I guess the document you are reading is 2 years old.

Quote:
Originally Posted by wdell View Post
To me this kind of implies you can move all your analog stuff to slot two, digital stuff to six, etc.

Haven't tried it myself (we don't even have a robot yet... don't ask), but might be worth looking into.
There are several problems with this. The battery voltage is read from slot 1, therefore the battery jumper must be installed on the analog bumper on slot 1. The Robot Signal Light must be connected to the digital sidecar on slot 4. The gyro accumulators are only connected to the first 2 channels of slot 1.

-Joe
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2011, 22:15
wdell wdell is offline
Registered User
AKA: William Dell
FRC #3999 (Shadetree Mechanics)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Killeen, Texas
Posts: 55
wdell has a spectacular aura aboutwdell has a spectacular aura about
Re: Analog Module?

Quote:
Originally Posted by jhersh View Post
You can also put a 9472 in slot 7. I guess the document you are reading is 2 years old.
Nope, actually that was from the 2011 But nice to know... so what is slot 5 for?
Reply With Quote
  #6   Spotlight this post!  
Unread 17-02-2011, 15:52
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Analog Module?

Quote:
Originally Posted by wdell View Post
Nope, actually that was from the 2011 But nice to know... so what is slot 5 for?
Slot 3 and 5 are not configured for anything in the FPGA.
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:29.

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