Recording response after current trial loop end

Hi, I’m currently running a RSVP-like task (Rapid Serial Visual Presentation), where images are presented in a rapid serial stream (fixed time) for entire block and participant need to press key when the target present. However, I need to code every 4 images into one trial for some condition needs and the target might appear at the end of the trial (so participant might not be able to respond before trial end). I hope to keep recording the response for current trial even it moves to the next trial. Is there any way to do it?

I’m sure this is too late for your case but I’ve been working on an RSVP demo. It presents bursts of images using different methods (counting frames or time and using a image component or a list of image objects in code. I save the value of t at each image change and have found so far that frames and a simple image component set to update each frame seems to be as good or better than more complex approaches.

RSVP code | try it

Timing is worst at the beginning of a routine, especially for the first iteration of a loop. This demo preloads 260 images using a code component and then presents them 10 at a time where each burst is within a single routine. The value of t at each image change is saved so the variability of the presentation times for different methods can be compared. Timing is better when running in full screen than in local pilot mode. Since the presentation is in a single trial it contains a single keyboard response which extends beyond the end of the image stream. Press space to continue.