I’m trying to accomplish what I thought would be a simple task but has turned out to be fairly difficult. I have created an experiment where a subject is repeatedly presented with a different version of the same trial and due to the number of elements in the trial, there are about 900 different possible trials that the subject could experience. We want the subject to try to get through as many trials as possible in 45 minutes, but have not found a simple way of ending the experiment after 45 minutes.
Using 10 seconds as a practice interval, I’ve tried to write some code that looks like this:
if globalClock == 10: core.quit()
The program will just fine, but nothing happens after 10 seconds. Does anyone have any other suggestions?