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
I am getting the following errors while running your code
"C:\Users\Khadija Zahoor\Anaconda3\python.exe" "C:/Users/Khadija Zahoor/Desktop/Neurosky projects Github/Mindwave-brainwaves-reader/main.py"
Nome dell'utente: rahama
Nome del task: fff
Durata del task(sec):7
Saving data...
Traceback (most recent call last):
File "C:/Users/Khadija Zahoor/Desktop/Neurosky projects Github/Mindwave-brainwaves-reader/main.py", line 20, in
record.start()
File "C:\Users\Khadija Zahoor\Desktop\Neurosky projects Github\Mindwave-brainwaves-reader\NeuroPy.py", line 44, in start
threading.Thread(target=self.__packetParser(self.srl)).start()
File "C:\Users\Khadija Zahoor\Desktop\Neurosky projects Github\Mindwave-brainwaves-reader\NeuroPy.py", line 52, in __packetParser
p2 = binascii.hexlify(srl.read(1)).decode('ascii')
File "C:\Users\Khadija Zahoor\Anaconda3\lib\site-packages\serial\serialwin32.py", line 283, in read
ctypes.byref(self._overlapped_read))
TypeError: byref() argument must be a ctypes instance, not 'NoneType'
Saved
Process finished with exit code 1
Kindly guide me to resolve these.
The text was updated successfully, but these errors were encountered:
I am getting the following errors while running your code
"C:\Users\Khadija Zahoor\Anaconda3\python.exe" "C:/Users/Khadija Zahoor/Desktop/Neurosky projects Github/Mindwave-brainwaves-reader/main.py"
Nome dell'utente: rahama
Nome del task: fff
Durata del task(sec):7
Saving data...
Traceback (most recent call last):
File "C:/Users/Khadija Zahoor/Desktop/Neurosky projects Github/Mindwave-brainwaves-reader/main.py", line 20, in
record.start()
File "C:\Users\Khadija Zahoor\Desktop\Neurosky projects Github\Mindwave-brainwaves-reader\NeuroPy.py", line 44, in start
threading.Thread(target=self.__packetParser(self.srl)).start()
File "C:\Users\Khadija Zahoor\Desktop\Neurosky projects Github\Mindwave-brainwaves-reader\NeuroPy.py", line 52, in __packetParser
p2 = binascii.hexlify(srl.read(1)).decode('ascii')
File "C:\Users\Khadija Zahoor\Anaconda3\lib\site-packages\serial\serialwin32.py", line 283, in read
ctypes.byref(self._overlapped_read))
TypeError: byref() argument must be a ctypes instance, not 'NoneType'
Saved
Process finished with exit code 1
Kindly guide me to resolve these.
The text was updated successfully, but these errors were encountered: