hardbyte / hardbyte/python-can

[question] possible cause for vector XL_ERR_INVALID_HANDLE

オープン
#1,588 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
1.6k
フォーク
697
PR マージ指標
30日以内にマージされた PR はありません

説明

### Describe the bug
I setup several buses on a VX1135 device
![vector hardware config](https://github.com/hardbyte/python-can/assets/20952040/e099f682-5cd1-4aef-a615-c689657b4886)

Each bus is being handled in a dedicated Python process.
I am able to start the buses and acquire CAN data, but when I want to shutdown the buses I often get this error:

```
Traceback (most recent call last):
File "d:\daxil\xil\devices\can_device.py", line 1727, in _acquire
File "d:\Tools\_venv\pyvenv_daxil2_Python310_x64\lib\site-packages\can\interfaces\vector\canlib.py", line 629, in shutdown
File "d:\Tools\_venv\pyvenv_daxil2_Python310_x64\lib\site-packages\can\interfaces\vector\xldriver.py", line 37, in check_status_operation
can.interfaces.vector.exceptions.VectorOperationError: xlDeactivateChannel failed (XL_ERR_INVALID_HANDLE) [Error Code 155]
```
![image](https://github.com/hardbyte/python-can/assets/20952040/94be5238-9205-4568-8a97-2bc1bdc7a7c2)

Do you know what can cause this?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。