data set creating issue
Closed this issue · 1 comments
TARGET SIGN: 'a' USING BATCH: 0
OPENING SERIAL_PORT 'COM9' WITH BAUDRATE 38400...
IMPORTANT!
To end the program hold Ctrl+C and send some data over serial
Traceback (most recent call last):
File "start.py", line 118, in
ser = serial.Serial(SERIAL_PORT, BAUD_RATE, timeout = TIMEOUT)
File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 38, in init
SerialBase.init(self, *args, **kwargs)
File "C:\Python27\lib\site-packages\serial\serialutil.py", line 282, in init
self.open()
File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 66, in open
raise SerialException("could not open port %r: %r" % (self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM9': WindowsError(5, 'Access is denied.')
Hi,
Are you sure you are using the correct serial port?
You can also try to execute the terminal with admin privileges and see if it works.
Sorry for the late reply, right now I'm very busy with my exams and I don't have much free time.
Have a nice day