Selecting one condition for practice before the actual routine

Hey @dvbridges

I’m approaching this issue using what you posted on my last topic.

I tried this in the rmet_exemplo loop and it’s almost working, but the main problem is that the image I need to appear is not showing, just a gray rectangle. Also, the rmet_example loop is repeating everytime, like rmet_exemplo routine → oRMET (until all the conditions are finished). The rmet_exemplo routine shows a gray image with the word options that will appear next in the oRMET routine. Let me know if you need a better explanation.


What can I do to select the image I desire to appear in this routie example?

here are the coder specifications:
Begin experiment:
cancelimagem_exemplo = 0

Begin Routine:

if Tarefas_loop.thisN <= 2 and not cancelimagem_exemplo > 0:
    cancelimagem_exemplo = cancelinstrucoes_1 + nReps1
    imagem_exemplo.setAutoDraw(True)
    win.flip()
else:
    continueRoutine = False
    pass

End Routine:

if cancelimagem_exemplo > 0:
    myText.setAutoDraw(False)
    win.flip()

Maybe a command different from the .setText one. Any suggestions?