I’d like to show two rating scales that should remain on the screen until subjects respond. First I show rs1 and save a screenshot. Then I show this screenshot and rs2. The code below works for the first trial, but not for the second trial since rs1 disappears when rs2 is presented. What is the reason for this?
from psychopy import visual win = visual.Window() rs1 = visual.RatingScale(win,choices=['True','False'],marker='hover',singleClick=True, pos=(0,0)) rs2 = visual.RatingScale(win,singleClick=True, pos=(0,-0.5)) for t in [1,2]: rs1.reset() rs2.reset() while rs1.noResponse: rs1.draw() win.flip() screenshot=visual.BufferImageStim(win,buffer='front') while rs2.noResponse: screenshot.draw() rs2.draw() win.flip() win.close()