Objective: When a movie stimulus appears, people must click target present (Yes) or target absent (No) before clicking Next to move onto the next trial (accepts two different mouse clicks, 1 that does not end trial and 1 that does). If the next image is not selected, the movie clip will loop three times. People are allowed to change their mind before moving to the next trial. If people click Next without clicking Yes or No, a feedback message will appear.
What did you try to make it work?:
-I tried to put registering Answer (yes or no) in one routine before registering Next Image in the next routine.
The problem with that is that for small images, that may be okay, displaying the same image in both routines. However, it is not viable for movie clips (it would of course, restart). Please note: trials_2 is not labeled well. Trials is uncheckmarked in the popup screen. I added a loop there so that they clip would loop a total of 3 times if they do not respond with a Next Image button.
I tried to experiment with adding a if/elif/else loop to end the routine when people select the nextImageButton_2. At the moment, it is saving the name of the Yes and No buttons correctly and saving 1 additional name if people select a different answer. People must press yes or no before pressing next. The error I get has to do with syntax in parts I commented out.
I don’t know if the yellow boxed area is noting and not saving the positions, but there is no error. Would this info be in a buffer?
by
Making sure that the video stopping does not end routine
n
Saving answer if they change it AND trying to do the end routine code component but there is a syntax error in the part I commented out
I greatly appreciate the feedback. Thanks!
Also, at the moment, I am learning how to use Psychopy with the manual and new book. I’m also trying to make a “standard” program that is easy for people to pick up and make minor tweeks for any future experiment permutations (so keeping as much things as I can in the Builder is beneficial at this time). In the future, I hope to move into the coder after using some builder features.