Detection of Odrive

What is the command line to check if odrive is connected to the PC or arduino? I am asking so as my odrive unit happens to get disconnected unexpectedly. Since my code run in automode, I will wish add some command line to check from time to time if the odrive unit is detected. Otherwise a reboot may be required.

Hello Boon_Chaing_Ng,
I think you just try to read any property to check if connection is ok. With PC when its disconnected you can catch ChannelBrokenException, with arduino you may have to set up a timeout until you get a expected response.

1 Like