hardbyte / hardbyte/python-can

An error occurred when kvaser cantool was invoked

未关闭
#1,872 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
1.6k
派生
697
PR 合并指标
30 天内没有已合并 PR

描述

### Describe the bug

Connect the kvaser tool to the ecu. Use vector to observe that the ecu normally sends and receives messages. However, the connection is normal when the host computer invokes the kcaser. However, using the send method reported an error.

[ERROR] Connection:Function canWrite failed-Error in parameter[Error Code -1 ]

code:client.change_session(3)

Occasional problems,sometimes it work good.

### To Reproduce

### Expected behavior

### Additional context

OS and version:
Python version:
python-can version:
python-can interface/s (if applicable):

Traceback and logs

```python
def func():
return "hello, world!"
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。