When I use #include "../CANJaguar/CANJaguar.h" and try to use the CANJaguar class the code crashes:
Code:
task 0x1319f60 (wtxC5124tmp) deleted: errno=196709 (0x30065) status=45106 (0xb032)
-> FPGA Hardware GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
FPGA Software GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
FPGA Hardware Version: 2010
FPGA Software Version: 2010
FPGA Hardware Revision: 1.3.0
FPGA Software Revision: 1.3.0
* Loading StartupDlls: FRC_BlackJagBridgePlugin
FRC_BlackJagBridgePlugin was compiled from SVN revision 10
task 0x1d6ae78 (t2) deleted: errno=0 (0) status=0 (0)
* Loading StartupDlls: FRC_UserProgram
NI-VISA Server 4.5 started successfully.
task 0xe416d0 (t1) deleted: errno=1835009 (0x1c0001) status=1 (0x1)
Warning: module 0x131b170 (FRC_UserProgram.out) holds reference to undefined symbol _
ZN9CANJaguarD1Ev.
Warning: module 0x131b170 (FRC_UserProgram.out) holds reference to undefined symbol _
ZN9CANJaguarC1EhNS_11ControlModeE.
Warning: module 0x131b170 (FRC_UserProgram.out) holds reference to undefined symbol _
ZN9CANJaguar3SetEf.
(unloading partially loaded module FRC_UserProgram.out)
...FRC_UserProgram failed to load.
Welcome to LabVIEW Real-Time 8.6.1f2
The code compiles with no warnings or errors. I am not using 2CAN, I am using a custom serial connector to the Black jaguar. BDC-COMM works. I updated the firmware and set their board IDs.