slow performance and troubles with run-if statement
I am almost done with my experiment but I can't figure one thing out. (it probably has to do with my lack of python skills). In the uploaded doc you'll find my experiment which has four stimuli blocks which are counterbalanced. Within the blocks a sketchpad called stimuli_display shows a different text via [stim1] each time the block loops, followed by a fixation dot for 2 seconds. After all five stimuli within the block are displayed I want to show a relaxing movie for 2 minutes. How can I change the script so that the movie is showed only when all stimuli within the block are displayed? I guess edit the run if statement but I don't know how.
Furthermore, the experiment tends to run slow, and sometimes doesn't start at all. I tried all the suggestions on the forum to make it run faster, but there is no real difference. Do you have any advice on how to make it run faster?
Thank you very much in advance,