Quote:
Originally Posted by Bongle
...with just the basic RobotDrive(int,int) constructor (it chooses slot 1 as a default, and errors out).
|
Watch out for a difference in numbering systems this year. It's not the cRIO "slot" that's important to the code. The "module number" is going to be
1 for the first Analog module (in slot 1), the first Digital module (in slot 2), and the [optional] first Solenoid module (in slot 3). On a 4-slot cRIO-II, the [optional] module in slot 4 is number 2; on an 8-slot cRIO, the [optional] modules in slots 5-7 are number 2.