PCAN-Developer4: Programmatically access PCAN-USB X6 net handle configuration

Professional CAN and CAN FD Development Package for Windows®
Post Reply
lucygxlucy
Posts: 1
Joined: Wed 21. Jun 2023, 00:30

PCAN-Developer4: Programmatically access PCAN-USB X6 net handle configuration

Post by lucygxlucy » Wed 21. Jun 2023, 00:53

Hello,

I'm looking for a way to programmatically verify if the PCAN-USB device ID/channel is configured to the correct CAN bus. For example, I'm using PCAN Status Display and see that there's information on the Device ID, channel, status and assigned CAN bus (crossed out in red). I'm looking for a method to programmatically access these three pieces of information.
pcan_status_display.png
pcan_status_display.png (242.32 KiB) Viewed 26476 times
Thank you!

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Programmatically access PCAN-USB X6 net handle configuration

Post by PEAK-Support » Wed 21. Jun 2023, 07:29

It looks as you use the PCAN-Developer API. Please contact us by e-mail support[at]peak-system.com with all needed Information
(company name/address/Developer License etc.) Please do not share this information here in public.

With the PCAN-Developer you always could get the same Data as the PCAN-Status Display (this Tool was Developed with the PCAN-Developer)
A binding between a CAN Channel and a Device ID could also be done by registry Keys: see here
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply