
20-01-2012, 00:37
|
 |
 |
Software Architect
 FRC #0045 (TechnoKats)
Team Role: Mentor
|
|
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
|
|
|
Re: 4-slot cRIO and default modules
Quote:
Originally Posted by mikets
So again, just to make sure I understand it correctly. In theory, if I put three analog modules in the 8-slot cRIO, the first one in slot 1, the second one in slot 4 and the third one in slot 5 (I suppose this is still legal  ). I can address them by:
Code:
Gyro(1, 1); //Gyro in slot 1, channel 1
Gyro(2, 1); //Gyro in slot 4, channel 1
Gyro(3, 1); //Gyro in slot 5, channel 1
Does it sound right? If so, they should have called it "instance" instead of "moduleNumber".
|
Not right. No modules are supported in Slots 4 or 8 of an 8-slot FRC-cRIO.
|