Quote:
Originally Posted by ygd
Thanks for the summary.
We are using C++, not Labview.
The link you gave me seems to be broken, I'm getting a "404" type page.
When you image the cRIO, it has an option for a CAN driver. Do I need to put anything there?
|
The link seems fine to me, perhaps you should try again
To switch C++ software to CAN, instead of creating Jaguar objects you should create CANJaguar objects. The only other change needed is updating the port numbers in the constructors with the CAN IDs of the jaguars.
In the cRIO imaging software you should select the method of connecting to the CAN bus you are using. If you are going with a serial-jaguar connection, select BlackJaguarBridge. If you're using a 2CAN, select 2CANBridge (I'm not 100% sure those are the exact names)
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"