How to detect PCANUSB was unplugged

The free CAN Software API (Application Programming Interface) for Windows®
Post Reply
olivierk
Posts: 4
Joined: Tue 28. May 2013, 14:45

How to detect PCANUSB was unplugged

Post by olivierk » Wed 12. Jun 2019, 14:53

Hello,

I'd like to detect when a PCANUSB is unplugged after successful HW initialization. It seems that checking the CHANNEL_CONDITION always return PCAN_CHANNEL_OCCUPIED, even if unplugged ...

Thank you.

K.Wagner
Software Development
Software Development
Posts: 1082
Joined: Wed 22. Sep 2010, 13:36

Re: How to detect PCANUSB was unplugged

Post by K.Wagner » Wed 12. Jun 2019, 15:11

Best regards,
Keneth

Post Reply