« Close

Datasheets and User Guides

App Notes

Software & Driver

 

Debugging

Here’s how to compile the Exodriver and libusb with debugging on. In the Exodriver source code’s labjackusb.c, find this line:

  
#define LJ_DEBUG false
  

and change it to:

  
#define LJ_DEBUG true
  

Then rerun make and “sudo make install” as the INSTALL file describes. For libusb, rerun configure with this flag:

  
./configure --enable-debug-log
  

and rerun make and “sudo make install”.

These libraries will now produce copious output that may help you debug your application.