linklayer / pyvit

pyvit: Python Vehicle Interface Toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyvit doesn't show any CAN frame

eduardohs24 opened this issue · comments

I am having a problem running an easy script which only print the data CAN bus.
I have a CANtact V1.0 device and I installed pyserial 3.2.1, future 0.16.0 and pyvit 0.2.0. When I running the script, it doesn't return any data.
This is the script:
2

And this is the image when I runned the script.
3

By other hand, I was debugging the script and when it running the line print(dev.recv()), this returns none in self.target_time in serialutil.py.
screenshot from 2017-05-29 17-18-36

Could someone help me, please?
Kind regards.

I resolved the issue changing the SocketCan library instead CANtact and set up slcan0.
screenshot from 2017-06-01 15-03-46