When connecting to the CANusb as part of the initialization process, many things can go wrong. We should attempt to provide meaningful error messages to the user in both the command line and GUI interfaces if we can.
This includes, but is not limited to, the following:
Failing to open a USB port through the serialport Python module
The canusb cannot be opened using the O\r command
Setting the proper CAN baud rate cannot be set using the Sx\r command
When connecting to the CANusb as part of the initialization process, many things can go wrong. We should attempt to provide meaningful error messages to the user in both the command line and GUI interfaces if we can.
This includes, but is not limited to, the following:
serialport
Python moduleO\r
commandSx\r
command