I am trying to make my experiment change block after 5 number of consecutive trials are answered correctly, following the instructions on p. 33+ in the Superlab 4 manual (i.e. using a macro and codes).
However, it doesn’t work, and it seems to be due to a coding problem, as in my data file, the answers are not coded properly (they are randomly coded as “yes” or “no” or nothing at all).
here is my set up:
I have an audio file (no answer collected)
followed by a picture with two choices (correct answer must be selected by pressing the key X or M on each event separately)
I have one sound file per trial, and each trial consist of one audio file followed by a picture file with two choices. There is a conditional branching (feedback in each picture event): if the subject give the correct answer, he is moved to a new screen that says “correct”.
If the subject gives an incorrect answer, a new event says “sorry, incorrect answer”.
After the message of “correct” or “incorrect” appears, the participant must press any key to be presented with the next trial.
I have a macro: "number of trials presented in this block is equal to 5 (using only the last 5 trials in the block and trials marked with code “answered correctly” equal to “yes”)
And I have added the codes in each picture event (in feedback) to change correct answer to “yes”. Each picture event has the correct answer identified as the correct key, and each picture event has the code changing rule in the “feedback” section, along with the other conditional branching (for “correct” or “incorrect” events). I have also added all the “if true” things necessary.
However, the system keeps saying that I don’t have any codes for this experiment (even though my codes are associated with a trial).
What is it that I do wrong? Or is there a problem with the system? I work in Mac…