Thread Tools  
Junior Member
Join Date: Nov 2016
kalokairi is on a distinguished road Posts: 1
How to repeat images with superlab v.4.5?, Posted November 5th, 2016 #1
Dear all,

I need to repeat presenting images in my experiment until the participant presses the space bar. I have 15 images and I present them in random order. Thus I want them to be presented once and then to start all over again until the participant responds.

I tried to do this via the block editor unsuccessfully. I would welcome any suggestions!
Thank you very much!!!
Reply With Quote
Join Date: Jun 2016
Arman is on a distinguished road Posts: 172
Posted November 7th, 2016 #2
I've attached an experiment that functions how you've described. Just replace the text in the events with your desired images. Check out the notes in the editors for specific details.

In this experiment, the 15 events will present indefinitely until the participant presses the space bar. When the space bar is pressed, the remaining events in the trial are skipped. Although the presentations are set to loop, the experiment still ends.

How? Because the presentations will only loop if a block takes 15 seconds to end (via macros). Each event takes 1000ms, so a block will only end before 15 seconds if events are skipped. And events are only skipped if the space bar is pressed.

Lastly, the reason there are two blocks with the same structure and behavior is so the block timers function appropriately.
Attached Files
File Type: sl4 repeatingImages.sl4 (12.7 KB, 4 views)
Reply With Quote
Thread Tools
Posting Rules
Forum Jump:
Copyright Cedrus Corporation, 1991-2014.
All times are GMT -7. The time now is 02:35 AM.