You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 7, 2021. It is now read-only.
from canard import can
from canard.hw import cantact
from canard.proto.uds import UdsInterface
dev = cantact.CantactDev("COM7")
dev.set_bitrate(125000)
dev.start()
but after adding ''p = UdsInterface(dev)" after dev.start()
i got error:
File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 66, in open
raise SerialException("could not open port %r: %r" % (self.portstr, ctyp
es.WinError()))
raise SerialException("could not open port %r: %r" % (self.portstr, ctypes.WinEr
ror()))
serial.serialutilserial.serialutil..SerialExceptionSerialException: : ccould not
open port 'COM7': WindowsError(5, 'Access is denied.')ould not open port 'COM7'
: WindowsError(5, 'Access is denied.'
The text was updated successfully, but these errors were encountered:
I heve problem
When i write tis all is ok:
from canard import can
from canard.hw import cantact
from canard.proto.uds import UdsInterface
dev = cantact.CantactDev("COM7")
dev.set_bitrate(125000)
dev.start()
but after adding ''p = UdsInterface(dev)" after dev.start()
i got error:
File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 66, in open
raise SerialException("could not open port %r: %r" % (self.portstr, ctyp
es.WinError()))
raise SerialException("could not open port %r: %r" % (self.portstr, ctypes.WinEr
ror()))
serial.serialutilserial.serialutil..SerialExceptionSerialException: : ccould not
open port 'COM7': WindowsError(5, 'Access is denied.')ould not open port 'COM7'
: WindowsError(5, 'Access is denied.'
The text was updated successfully, but these errors were encountered: