Hey,
I’ve been having an issue with one of my digital inputs, from an external lickometer that
sends TTL outputs at 5V, suddenly interrupting recording during sessions.
I’ve checked that inputs are neither logged to data or plotted, but the licking device has an LED that lights up when it detects licks, so I know it’s working properly. Also, I have the impression it might be a software issue, since stopping the experiment and starting again completely fixes it, without any changes circuit-wise or even restarting the GUI or the board.
It’s a relatively rare issue, and it happened both right at the beginning of the session and after about 10 minutes. Maybe about one every 8 sessions or so.
I included attachments of my task script, hardware definition and session log. I wish I had checked the GUI script prompt everytime it happened, but this is a traceback that I received last time. I noticed it was there after I had already stopped the experiment and started again, without restarting the GUI.
Traceback (most recent call last):
File "C:\Users\joao_\Downloads\pyControl\gui\run_experiment_tab.py", line 361, in update
subjectbox.update()
File "C:\Users\joao_\Downloads\pyControl\gui\run_experiment_tab.py", line 510, in update
self.stop_task()
File "C:\Users\joao_\Downloads\pyControl\gui\run_experiment_tab.py", line 499, in stop_task
self.run_exp_tab.experiment_plot.active_plots.remove(self.setup_number)
ValueError: list.remove(x): x not in list