Search found 5 matches

by Sambo
Wed 25. Jun 2025, 01:27
Forum: Suggestions & Feature Requests
Topic: PCAN Nets Configuration App (Windows)
Replies: 2
Views: 382

Re: PCAN Nets Configuration App (Windows)

Sweet! Thanks.
This post must contain 20 characters. Solved.
by Sambo
Wed 25. Jun 2025, 01:24
Forum: PCAN-Developer 4
Topic: Python GetAvailableHardware() and can_available_hardware_t Objects
Replies: 3
Views: 582

Re: Python GetAvailableHardware() and can_available_hardware_t Objects

Thanks for your response, K.Wagner, but I don't see the DeviceID property to be in the list of Available Hardware Devices.
I found my answer playing with C#, which has better type clarity.
I found the "device" property to be a PcanDevice enum value.
A device type of 3 corresponds to PcanDevice.Usb
by Sambo
Mon 23. Jun 2025, 22:10
Forum: Suggestions & Feature Requests
Topic: PCAN Nets Configuration App (Windows)
Replies: 2
Views: 382

PCAN Nets Configuration App (Windows)

The PCAN Nets Configuration App within the PCAN API 4 Developer package does not have a way to show the net handle ID. Can this be added?
by Sambo
Mon 23. Jun 2025, 21:50
Forum: PCAN-Developer 4
Topic: Python GetHardwareStatus() Does not return HWINUSE
Replies: 1
Views: 188

Python GetHardwareStatus() Does not return HWINUSE

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.
by Sambo
Mon 23. Jun 2025, 21:34
Forum: PCAN-Developer 4
Topic: Python GetAvailableHardware() and can_available_hardware_t Objects
Replies: 3
Views: 582

Python GetAvailableHardware() and can_available_hardware_t Objects

This function returns a list of can_available_hardware_t objects.
These objects contain the following properties:
- "device"
- "hw"
- "name"
- "type"
- "channel"
- "reserved"
I find that the "device" property is always 3 for every device connected.
The PCAN-API_4_Documentation.pdf says this is ...