How to determine cRIO2 slot addresses

How do I reset the slot addresses from a cRIO to a cRIO2? In the cRIO,
The NI models were setup in slots 1, 3, 5 and the demo codes would only work if the models were in those slots.

In the cRIO2 the modules are in slots 1, 2, 3.

So the DIO module has moved from Slot 3 to Slot2 but how has the address changed and how to tell the WPI library to look for the DIO in a different slot?

The first module of a particular type is referenced in the code as “1”, the second module of the same type is addressed in the code as “2”.

Mark,

Thanks for the prompt reply. Unfortunately, it does not answer the question that I asked. I understand that if I use only 3 modules, an Analog, a Digital and A Solenoid, then each will be identified as module 1 of that type. If I add a second Digital then it will Module2. But, in an 8 slot cRIO the WPI library needs to know where to find DIO Module 2, will it be in slot 2, 4, 6 or 8?

Then if I write code for the 8 slot cRIO and DIO Module 2 is in slot 6, how do I tell the software that DIO Module 2 is in slot 4 in the cRIO II?

It knows automatically.

Yea, the slots in the older cRIO are limited to the positions listed below, so the FPGA simply has to detect if the slot is occupied, and if it’s occupied by the permitted module.

  • 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