AttributeError: 'NoneType' object has no attribute 'VCI_OpenDevice

43 views
Skip to first unread message

Nareshkumar gopi

unread,
Feb 6, 2023, 2:11:57 AM2/6/23
to python-can
Hi,
I am getting this error (can\interfaces\canalystii.py:105 in __init__
if CANalystII.VCI_OpenDevice(VCI_USBCAN2, 0, 0) == STATUS_ERR:
AttributeError: 'NoneType' object has no attribute 'VCI_OpenDevice')),
while running   bus = can.interface.Bus(bustype='canalystii', channel=0, bitrate=500000),
It worked fine before and now its throwing this error,
Can anyone help me in solving this problem?
Reply all
Reply to author
Forward
0 new messages