Page 2 of 2

Re: Reset PCAN-USB initialized state by software

Posted: Tue 12. Feb 2019, 12:30
by K.Wagner
Hello,
paulh3030 wrote:It would be nice if there was a convenient utility allowing one to forcibly free up a connection from "another device".
we have indeed such a tool - it is called PCAN-Status Display. Unfortunately, it is part of the PCAN-Developer package , our professional API, which is not for free.

Nevertheless, to avoid problems like this introduced by third parties in the future, we agreed to implement a kind of "PCAN-Basic Connections clean-up" feature. This is already planned and will be done at some time this year.

Re: Reset PCAN-USB initialized state by software

Posted: Wed 13. Feb 2019, 16:49
by paulh3030
Thank you Keneth. That is very good to know. I have much appreciated your prompt and helpful responses.

Re: Reset PCAN-USB initialized state by software

Posted: Fri 24. May 2019, 11:07
by Willaume
Hello,
I figured out the same issue. This also happen when I unplug the PCAN-USB. When it happens, I close properly the connection with CAN_Uninitialize which returns 0x00 as expected.
Then I plug again the PCAN-USB, launch my application and when I call CAN_Initialize, the return is PCAN_ERROR_ILLHW. The only way I have is to restart my computer.

Re: Reset PCAN-USB initialized state by software

Posted: Mon 27. May 2019, 10:33
by Willaume
Hello,
Do you know when this PCAN-Basic Connections clean-up feature is planned to be implemented exactly?
It would be very helpful for us.
Thansk a lot

Re: Reset PCAN-USB initialized state by software

Posted: Mon 27. May 2019, 11:12
by K.Wagner
Hello,
Willaume wrote:This also happen when I unplug the PCAN-USB. When it happens, I close properly the connection with CAN_Uninitialize which returns 0x00 as expected.
Then I plug again the PCAN-USB, launch my application and when I call CAN_Initialize, the return is PCAN_ERROR_ILLHW. The only way I have is to restart my computer.
Please note that this is a different behavior as described in this post. The error returned when a channel connection is not freed and you try to initialize it again is ERROR_INITIALIZE. Note that PCAN-Basic cannot initializes channels twice. ILLHANDLE (ILLHW, ILLNET, ILLCLIENT) is returned when you try to establish a connection to a channel that is not present at all, for instance, you have only one PCAN-USB channel, but you try to connect PCAN_USBBUS3. ILLHANDLE can also occur when the channel is already connected to a PEAK application (PCAN-View. PCAN-Explorer or any other) but with different baud rate as the one issued over Initialize()

Please describe your situation i.e. environment better. Os version, platform, device type, applications used and how they are connected. It would be not wrong to create another topic for this.
Willaume wrote:Do you know when this PCAN-Basic Connections clean-up feature is planned to be implemented exactly?
We have already a release candidate of the PeakCpl (Control Panel applet) that implements this. I unfortunately don't have any release date for this, but it should be delivered with the next drivers release. This could occur in the next 4 weeks.

Re: Reset PCAN-USB initialized state by software

Posted: Tue 16. Jul 2019, 14:42
by eriks
Any news when this will be released?

Re: Reset PCAN-USB initialized state by software

Posted: Wed 17. Jul 2019, 12:55
by K.Wagner
Hello,

As before, I cannot give any release date, just that this is planned to be released with the next drivers version. Due to some last minute changes, this is still not happened.

Re: Reset PCAN-USB initialized state by software

Posted: Wed 21. Aug 2019, 10:44
by K.Wagner
Hello,

with the last version of our PeakCpl, Windows Control Panel Applet, there is now the possibility to reset abandoned PCAN-Basic connections. You will see a PCAN-Basic tab if there are active PCAN-Basic connections. In this way you will don't need to reboot or install updates.

Closed