Search found 3 matches

by J.Haerig
Wed 15. Jun 2016, 17:52
Forum: PCAN-ISO TP
Topic: Python - CANTP_Read returns CANTP_Write DATA
Replies: 4
Views: 11941

Re: Python - CANTP_Read returns CANTP_Write DATA

Hello F.Vergnaud,

i finally found time to dig through my python code again where i found several reasons for trouble.

To help others with similar issues:
- A major point was typification at certain points, which caused no direct influence in my example but had to be fixed to be safe.
- AddMapping ...
by J.Haerig
Thu 9. Jun 2016, 16:11
Forum: PCAN-ISO TP
Topic: Python - CANTP_Read returns CANTP_Write DATA
Replies: 4
Views: 11941

Re: Python - CANTP_Read returns CANTP_Write DATA

I just modified the C++ example to the same configuration as my python setup. The (CANTP_AddMapping) source address (sourceAddr) and target address (targetAddr) i kept on '0'.

The modified C++ example works as expected with that configuration. I can change the N_SA and N_TA_PHYS addresses without ...
by J.Haerig
Wed 8. Jun 2016, 16:38
Forum: PCAN-ISO TP
Topic: Python - CANTP_Read returns CANTP_Write DATA
Replies: 4
Views: 11941

Python - CANTP_Read returns CANTP_Write DATA

Hello,

i'm trying to use the PCAN-ISO-TP.dll to communicate to an ECU via PCAN-USB.

As i'm asked to build my program in Python (2.7) on Win7 64Bit. So i created a wrapper for the PCAN-ISO-TP.dll using ctypes and started to integrate a first few simple diagnostic tests for my ECU.

When i'm using ...