Search found 1028 matches

by K.Wagner
Wed 7. Jan 2026, 13:35
Forum: PCAN-Basic
Topic: PCAN Basic API Windows Handle Leak
Replies: 6
Views: 977

Re: PCAN Basic API Windows Handle Leak

Hello,

now I see. Yes, this seems to be a (very old) bug. Indeed a CloseHandle is failing. This will be fixed by the next release.

Thank you for bringing this to our attention.
by K.Wagner
Wed 7. Jan 2026, 10:43
Forum: PCAN-Basic
Topic: PCAN Basic API Windows Handle Leak
Replies: 6
Views: 977

Re: PCAN Basic API Windows Handle Leak

Hello,

as I understood, the problem is the same no matter wich DLL you are using. If the problems were only in the v5, this could be an indication of problem in refactoring or new implemented code. The v4 was well tested again memory leaks.

Regarding your test:

int main()
{
while (1 ...
by K.Wagner
Thu 24. Jul 2025, 11:29
Forum: PCAN-XCP
Topic: How to Set Up DAQ in XCP Using PCAN-XCP API – Need Sample or Guidance
Replies: 3
Views: 41196

Re: How to Set Up DAQ in XCP Using PCAN-XCP API – Need Sample or Guidance

Sorry, but we have no examples on this except for the small one delivered with the API.
by K.Wagner
Mon 21. Jul 2025, 15:17
Forum: PCAN-XCP
Topic: How to Set Up DAQ in XCP Using PCAN-XCP API – Need Sample or Guidance
Replies: 3
Views: 41196

Re: How to Set Up DAQ in XCP Using PCAN-XCP API – Need Sample or Guidance

Hello,

The PCAN-XCP API provides a function for every available XCP command. The best way to familiarize yourself with XCP is to read the corresponding ASAM specification. Each command is described in detail, and examples of positive and negative responses are provided for each of them. The ...
by K.Wagner
Wed 25. Jun 2025, 09:40
Forum: PCAN-Developer 4
Topic: Python GetAvailableHardware() and can_available_hardware_t Objects
Replies: 3
Views: 19386

Re: Python GetAvailableHardware() and can_available_hardware_t Objects

Hello,

glad to see you have found what you needed. All this information is in the documentation. It is easier looking at it first, before looking the code. Closed.
by K.Wagner
Tue 24. Jun 2025, 13:59
Forum: PCAN-Developer 4
Topic: Python GetHardwareStatus() Does not return HWINUSE
Replies: 1
Views: 5861

Re: Python GetHardwareStatus() Does not return HWINUSE

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,
by K.Wagner
Tue 24. Jun 2025, 13:54
Forum: PCAN-Developer 4
Topic: Python GetAvailableHardware() and can_available_hardware_t Objects
Replies: 3
Views: 19386

Re: Python GetAvailableHardware() and can_available_hardware_t Objects

Hello,

the device ID is something "not unique" that can be set as the user needs. If you set the same ID to all your devic, then you will get also this information using the getavailableHardware function. You can change the device ID using either the PEAK Settings applet or the PCAn-View. here a ...
by K.Wagner
Tue 24. Jun 2025, 13:50
Forum: Suggestions & Feature Requests
Topic: PCAN Nets Configuration App (Windows)
Replies: 2
Views: 42245

Re: PCAN Nets Configuration App (Windows)

Hello,

the PCAN Net Configuration tool does show the handle of any registered net. See picture:
Net-Config.png
Net-Config.png (44.15 KiB) Viewed 42236 times
by K.Wagner
Mon 12. May 2025, 09:20
Forum: PCAN-Basic
Topic: CAN_SetValue returns Unknown Error
Replies: 3
Views: 21973

Re: CAN_SetValue returns Unknown Error

Hello,

ok, this is what I stated in my last post:

it looks like you would use the value of the event handle and not a reference to it


But, I cannot understand from your code if it is working now or not? despite of this, please note, that what the function expects is a "buffer", meaning, the ...
by K.Wagner
Fri 9. May 2025, 07:55
Forum: PCAN-Basic
Topic: CAN_SetValue returns Unknown Error
Replies: 3
Views: 21973

Re: CAN_SetValue returns Unknown Error

Hello,

as we (still) do not work or know Rust programming, it is difficult to say something about the construtct of your code, but for us it looks like you would use the value of the event handle and not a reference to it.

Additionally, an ERROR_UNKNOWN is normally returned, when an internal ...