I’m working on a program that will show stimuli at 9 locations, and 3 sizes. I’ve created a list that contains the stimulus group, and range replicators for the x coordinates, y coordinates, and size of the stimuli. However, once I have the list complete, the program cannot display all of the stimuli and I get an error that says: “ERROR: Stimulus image is not loaded. Displaying nothing.” I do not believe there is a problem with the stimuli themselves, since they appear properly when called without the replicators. I’ve attached the program in question.
Thank you,
Brittany
Hi Brittany,
I didn’t receive your experiment XML. Can you try sending it again?
Thanks,
Chris Stawarz
Hi Brittany,
I think I see the problem. You’re selecting images using the index
variable (to which a range replicator is assigning integers 1 to 128). You correctly use index-1
when loading each image (RadFreq_images[index-1]
, at line 314). However, when you queue and dequeue the image (lines 370, 380, 402), you use a different index (RSVP_stim_index_RadFreq
), when you should again be using index-1
.
If you fix that error, it looks like you can remove RSVP_stim_index_RadFreq
(a selection variable) and any associated actions entirely. It appears to serve no purpose in your experiment; I assume it’s a vestige of another protocol.
Cheers,
Chris
Thank you Chris! That solved it.