[visionegg] Go loops

Hi!
I have been using go loops with run forever and am experiencing trouble.

I want a stimulus to appear after some secs of the start of a trial, and I
want many trials repeated this way.
So typically I would have :
Start Trial -> n secs -> stimulus appears -> stimulus disappears ->
response  -> next trial.
Each trial runs for fixed length of time.

For this I am doing:
during_go_func : display stimulus
between_go_func : display another stimulus
                 and start another p.go()
p.run_forever()

This ensures that my experiment runs forever (until stopped) and each
trial is a fixed time go loop.
This works fine, except when I make the number of trials in an experiment
more than 260, when it says too many recursions.

I am looking for a cleaner way to do this.
Any ideas?

Thanks,
-Smriti.

======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: