Quote:
Originally Posted by jp1247
Good evening members of CD,
This year our team decided we would go down the CAN route, enticed by the features offered by it. Originally turned down by the 200 dollar 2CAN, we discovered we could do CAN cheaper with the serial port on the cRio. I have been heading up the change over to CAN. I have updated the firmware of all the Jaguars we are using (3 black ones and 1 tan) to version 101 with BDC-COMM via the usb to DB-9 serial to rj11 adapter that we got in the KOP this year. I can manually control each one though the CAN bus into my computer (all the lights are solid yellow when i open BDC-COMM, and i can set the voltages/current etc). The problem is, plugging the serial to rj-11 adpater into the cRIO's serial port, the jaguars still indicate no signal. I have formatted our 8-slot cRIO for Java with the newest 2012 (v43) firmware including the serial CAN plugin.
Any help would appreciated on this. This is also my first post, so tell me if there is anything i should know next time i post.
Thanks
|
I don't know how much help this is, but I understand the C++ code is similar to the Java stuff. Make sure you use the CANJaguar class instead of the Jaguar class and also be sure to instantiate the CANJaguar object with the ID of the Jag you want to control. You should have set unique values for each Jag when you reprogrammed them.
Other than that, they are called exactly the same way (when in open-loop mode) as the Victor and Jaguar objects. And obviously you need to use a Black Jag as the first device. When you enable the lights should be steady.
- Bryce