Python GetHardwareStatus() Does not return HWINUSE

Professional CAN and CAN FD Development Package for Windows®
Post Reply
Sambo
Posts: 5
Joined: Tue 17. Jun 2025, 23:10

Python GetHardwareStatus() Does not return HWINUSE

Post by Sambo » Mon 23. Jun 2025, 21:50

I attempt to list all available hardware and list their availability status for the user to select.
However, the HWINUSE status is not reported by GetHardwareStatus().
When I attempt to ConnectToHardware(), this status is then reported.

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

Re: Python GetHardwareStatus() Does not return HWINUSE

Post by K.Wagner » Tue 24. Jun 2025, 13:59

Hello,

please check whther you are using the channel already with PCAN-View using a different bit rate value than the one used within your code. Moreover, please show your code of how you are checking the status and then how you are trying to connect it.

Thanks,
Best regards,
Keneth

Post Reply