Log in

View Full Version : cRIO Reading wrong ports


Peragore
05-02-2012, 10:42
We're having a problem coding in WindRiver. All of our Relays are functional when we assign them to the first module, but do not function when assigned to the second module. We have the digital sidecar (with relays) plugged into module 2. Why is this happening? We could probably go through and assign the different relays ports until we got it right, but we'd like a good reason why this is happening, or a way to fix it without guess work.
Thanks for your help,

Team 3373

RufflesRidge
05-02-2012, 12:16
I'm a little confused about what you are seeing.

1) If you assign the relays to module 1 and the Digital Sidecar is in slot 2, everything works. That is the correct behavior.
2) If you assign the relays to module 2, they don't work.
a) Are you running a 4-slot or 8-slot cRIO?
b) If a 4-slot is your 2nd Digital Module in slot 4? If an 8-slot is your 2nd digital module in slot 6?

I think what is going on is you are confused about the new way of addressing the modules. The modules are no longer addressed by slot number, they are addressed by type. Analog module 1 is in Slot 1, Digital Module 1 is in Slot 2 and Solenoid Module 1 is in Slot 3.

Peragore
05-02-2012, 13:58
Thanks! What we figured out was that the jaguars and servo's go to different modules even though they both on the digital sidecar, which we assumed would make both two.

So as you said, it was a little bit of confusion over the new way of adressing modules.