Any help is appreciated. Thanks!
This is the URL of the pilot experiment
The error occurs after the feerback routine gets executed and the experiment halts.
(upload://zs9Nux1NRnVGLZxv4RvFYcvUfqn.py) (105.1 KB)