Python_ Can support VN1670? #1619
Unanswered
waynechenjun
asked this question in
Q&A
Replies: 1 comment
-
My advice would be to try to set up your bus without passing an "app_name" into it. I have been able to connect to the VN1610 and the VN1630A by doing this:
You could also try reading the serial number of the device and pass that into the bus creation as such:
The second example is most useful for connecting to multiple buses at the same time. See if these help to connect the VN1670. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
device_name : VN1670
bus = can.interface.Bus(bustype='vector', app_name="CANoe", channel=0,bitrate=500000)
Traceback (most recent call last):
File "C:\Python\Python38\lib\site-packages\can\interface.py", line 127, in new
return cls(channel, *args, **kwargs)
File "C:\Python\Python38\lib\site-packages\can\interfaces\vector\canlib.py", line 134, in init
raise VectorError(vxlapi.XL_ERR_HW_NOT_PRESENT,
can.interfaces.vector.exceptions.VectorError: xlGetChannelIndex failed (XL_ERR_HW_NOT_PRESENT)
How to modify??
Beta Was this translation helpful? Give feedback.
All reactions