hardbyte / hardbyte/python-can

An error occurred when kvaser cantool was invoked

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

Description

### 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!"
```

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.