Open JABarios opened 3 years ago
Ok, I have just reproduce the error. You have to first stop the visualization and then push the recording button.
I will change the code to allow this behaviour.
Ok, changes done! The new behaviour is as follows: not streaming and not recording and presh button start -> streaming and not recording not streaming and not recording and presh button record -> streaming and recording streaming and not recording and presh button start -> not streaming and not recording streaming and not recording and presh button record -> streaming and recording streaming and recording and presh button record or start -> not streaming and not recording
After successfully visualizing signlas and adding filename. When click on Record Button, the following error appears: Traceback (most recent call last): File "/home/pi/pro/MULTI_GEERT/GUI/EEG_monitor_wrapper.py", line 67, in
self.Record_btn.clicked.connect(lambda: self.run('RECORD'))
File "/home/pi/pro/MULTI_GEERT/GUI/EEG_monitor_wrapper.py", line 109, in run
self.io.online_annotation(action, self.buffer.get_current_instant())
File "/home/pi/pro/MULTI_GEERT/DATA_MANAGER/file_IO.py", line 34, in online_annotation
self.edf.annotation(instant, duration, event)
File "/home/pi/pro/MULTI_GEERT/EDF/writeEDFFile.py", line 39, in annotation
self.file.writeAnnotation(instant, duration, event)
AttributeError: 'edf_writter' object has no attribute 'file'