hardbyte / hardbyte/python-can

error using multiple Vector devices

Đang mở
#971 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1.6k
Fork
697
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.