intrepidcs / python_ics

Library for interfacing with Intrepid devices in Python
MIT License
62 stars 31 forks source link

VCAN4-4 HSCAN & HSCAN2 tx & rx ISO15765-2 have different manifestation #91

Closed eric-qianfeng closed 3 years ago

eric-qianfeng commented 3 years ago

When use VCAN4-4 to tx & rx 15765-2 message and found a very weird things. Attached the python code they used, which is based on the demo code. Please remove the txt extenstion. iso15765_example.py.txt

If use network HSCAN1 (netid is ics.NETID_HSCAN), the get_messages function return the messages what we want, it include 0x7E0 & 0x7E8: OK

But if we change the network to HSCAN2(netid is ics.NETID_HSCAN2), the get_messages function return messages doesn’t include 0x7E8: NOK

We use the same code to test Fire2 HSCAN & HSCAN2, it works, the return messages include 0x7E8.

drebbe-intrepid commented 3 years ago

@eric-qianfeng Can you provide me with the following:

  1. OS version
  2. Python version
  3. icsneo40.dll version
  4. Is this reproducible every time?
  5. Hardware setup. It looks like you have two different setups, FIRE2 to FIRE2 and ValueCAN4-4 to ValueCAN4-4?
eric-qianfeng commented 3 years ago

@drebbe-intrepid , the following is my answer:

  1. OS version
    • Windows 10
  2. Python version
    • V3.6.8 (32-bit)
  3. icsneo40.dll version
    • V3.9.3.17
  4. Is this reproducible every time?
    • Yes, it is.
  5. Hardware setup. It looks like you have two different setups, FIRE2 to FIRE2 and ValueCAN4-4 to ValueCAN4-4?
    • Yes, two setups to compare the result. One is ValueCAN4-4 to Fire2, another is Fire2 to Fire2; the other side is always Fire2 to simulate an ECU, and I use VSpy3 to monitor and transmit the flow control.
drebbe-intrepid commented 3 years ago

I was unable to reproduce this here and I looks like you are in contact with our support department. I'm going to close this out, if you find there is an issue with the API please re-open this issue please!