hardbyte / hardbyte/python-can

Can't open CAN Bus for Vector Device interface.

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

説明

### Describe the bug
VectorBus has default app_name "CANalyzer" causing issue finding channels that haven't been associated yet to that app_name.

### To Reproduce
Install drivers for the device first.
Connect a Vector VN1630 device or similar.

```
import can

bus = can.Bus(bustype='vector', channel=0, bitrate=500000)
# can.interfaces.vector.exceptions.VectorInitializationError: xlGetChannelIndex failed (XL_ERR_HW_NOT_PRESENT) [Error Code 129]
# python-can version 4.2
```

### Expected behavior
No errors on runtime

### Additional context

OS and version: Windows
python-can version: 4.2
python-can interface/s (if applicable): VN1630A

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

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

評価

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

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

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