Page 1 of 1

Windows: How are multiple PCAN-USB adapters numbered

Posted: Thu 22. May 2025, 19:05
by MiKo17
Hi Peak-CAN experts,

we have several PCs with at least one Peak CAN USB adapter attached. https://www.peak-system.com/PCAN-USB.199.0.html
Some of those PCs have to USB adapters.

We have different PC applications which address those two adapters by its handle, for example
- TPCANHandle PCAN_USBBUS1 = 0x51
- TPCANHandle PCAN_USBBUS2 = 0x52

Sometimes after reboot of the PCs the adapters are swapped! We also assigned different hardware IDs (instead of 0xFF) to the adapters.

How does the Windows driver map the different Peak CAN interfaces to those handles?
How can we ensure that a certain USB adapter is always accessed with the same TPCANHandle?

Many thanks for any hints.
michaeL

Re: Windows: How are multiple PCAN-USB adapters numbered

Posted: Thu 22. May 2025, 19:20
by MiKo17
Sorry, after talking to a colleague, we found what we were looking for:

viewtopic.php?f=120&t=125

This request can be closed.