Search found 21 matches

by fabio.parodi@technoleader.it
Tue 9. Apr 2024, 17:46
Forum: PCAN-ISO TP
Topic: PCAN-ISO TP: How reset the hardware interface
Replies: 3
Views: 2147

Re: reset the hardware interface

Thanks I will try to apply both suggestions - unninitialize and reset. I will let you know when I receive feedback from the field.
by fabio.parodi@technoleader.it
Thu 4. Apr 2024, 16:58
Forum: PCAN-ISO TP
Topic: PCAN-ISO TP: How reset the hardware interface
Replies: 3
Views: 2147

PCAN-ISO TP: How reset the hardware interface

Hello
I have users reporting strange problems with the PEAK USB CAN interface, when used with a software application, using the Peak PCAN-ISO TP and UDS libraries.
Difficult to reproduce problem, for example, sometimes the application do not communicate.
Normally the problem goes away when the ...
by fabio.parodi@technoleader.it
Fri 5. May 2023, 08:42
Forum: PCAN-UDS
Topic: UDSApi.Initialize_2013 fails with PUDS_STATUS_NOT_INITIALIZED
Replies: 8
Views: 5000

Re: UDSApi.Initialize_2013 fails with PUDS_STATUS_NOT_INITIALIZED

Some more info.

The application was calling Initialize_2013 and Uninitialize_2013 several times during operation. After many calls, something bad happens in the lower layer and you must reboot windows. However PCAN-View keeps working.

Another way to reproduce the problem is calling Initialize_2013 ...
by fabio.parodi@technoleader.it
Thu 4. May 2023, 15:44
Forum: PCAN-UDS
Topic: UDSApi.Initialize_2013 fails with PUDS_STATUS_NOT_INITIALIZED
Replies: 8
Views: 5000

Re: UDSApi.Initialize_2013 fails with PUDS_STATUS_NOT_INITIALIZED

Thanks for answering.
I downloaded and launched PCANBasicExample.exe.
The dropdown list on the top-left shows PCAN_DNG (31h) and PCAN_ISA 1 to 8. The USB interface is not listed. Clicking the button "initialize" I get the error "driver not loaded".
Now I will reboot the PC and try again
Fabio
by fabio.parodi@technoleader.it
Thu 4. May 2023, 12:54
Forum: PCAN-UDS
Topic: UDSApi.Initialize_2013 fails with PUDS_STATUS_NOT_INITIALIZED
Replies: 8
Views: 5000

UDSApi.Initialize_2013 fails with PUDS_STATUS_NOT_INITIALIZED

Sometimes function UDSApi.Initialize_2013() fails with code PUDS_STATUS_NOT_INITIALIZED.
Arguments: channel = cantp_handle.PCANTP_HANDLE_USBBUS1 .. 16; baudrate = PCANTP_BAUDRATE_250K.

The PCAN-VIEW is connected installed and working, PCAN-VIEW is just fine, showing the messages on the line ...
by fabio.parodi@technoleader.it
Mon 13. Mar 2023, 18:08
Forum: PCAN-USB
Topic: PCAN USB always in use by another software in PCAN View
Replies: 7
Views: 12006

Re: PCAN USB always in use by another software in PCAN View

OK.

I understand that PCAN-UDS is using the PCANBasic API to talk with the driver.

Question: is it possible to use the PCAN-Developer API instead?

Fabio
by fabio.parodi@technoleader.it
Thu 9. Mar 2023, 15:48
Forum: PCAN-USB
Topic: PCAN USB always in use by another software in PCAN View
Replies: 7
Views: 12006

Re: PCAN USB always in use by another software in PCAN View

Hello
I think I have the same problem here. When the codesys gateway is using the CAN-USB interface, function UDSApi.Initialize_2013 returns Peak.Can.Uds.uds_status.PUDS_STATUS_NOT_INITIALIZED.
Other applications are able to work with the gateway (e.g., pcanview), so there may be a way to open the ...
by fabio.parodi@technoleader.it
Mon 26. Sep 2022, 13:58
Forum: PCAN-ISO TP
Topic: using ISOTP API with non-PEAK interfaces
Replies: 3
Views: 2651

Re: using ISOTP API with non-PEAK interfaces

ok thanks. This was expected. Very good product anyway
by fabio.parodi@technoleader.it
Mon 26. Sep 2022, 12:42
Forum: PCAN-ISO TP
Topic: using ISOTP API with non-PEAK interfaces
Replies: 3
Views: 2651

using ISOTP API with non-PEAK interfaces

hello
I've developed a software tool using your ISOTP and UDS libraries; we normally use it with the PEAK USB-CAN interface.
One customer asked if it's possible to use the tool through a IoT gateway, they are already using, made by EPEC.
The communication flow: remote PC <--> VPN <--> internet ...