hardbyte / hardbyte/python-can

error using multiple Vector devices

Open
#971 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.6k
Forks
697
PR merge metrics
No merged PRs in 30d

Description

The setup contains 2 Vector devices and a CAN cable that connects the ECU and the 2 boxes (using the first piggy on each device):
* Vector Vn1630A
* Vector VH6501

``CANoe CAN1`` is assigned to the first piggy of the VH6501 device.

If I assign ``MyAPP CAN1`` to the same piggy then I can record the traffic.
If I assign ``MyAPP CAN1`` to the first piggy of VN1630A then I get the following error:

```
Details: Traceback (most recent call last):
File "MyAPP\xil\devices\can_device.py", line 276, in prepare
File "lib\site-packages\can\util.py", line 303, in wrapper
File "lib\site-packages\can\interfaces\vector\canlib.py", line 183, in __init__
File "lib\site-packages\can\interfaces\vector\canlib.py", line 686, in get_application_config
File "lib\site-packages\can\interfaces\vector\xldriver.py", line 35, in check_status
can.interfaces.vector.exceptions.VectorError: xlGetApplConfig failed (XL_ERROR)
```

Any idea about what is going on here?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.