[open] Reset (NA) response_* variable before next trial
I am trying to implement a correction in case of a false response. If the participant hits the wrong key, the stimulus stays displayed, a red X indicating the error appears below, and the participant can correct the response.
Everything works fine, due to your great and intuitive prgramm! Thanks again for that!!!
However, the logger documents the response within the second chance (response_rsp_secondchance) and i don't know how to reset this response_* variable. Right now the last secondchance response is carried over to the next trials, even if the participant answers the next items correctly in the first trial.
Later analysis would be eased if the response_rsp_secondchance would be empty or NA when the seq_secondchance is not run.
run skp_blank "always" run skp_stimulus "always" run rsp_firstchance "always" run seq_secondchance "[correct]=0" run log "always"
and within the sequence "seq_secondchance":
run skp_stimulus_sc "always" #skp_stimulus with a red "X" added run rsp_secondchance "always"
I hope you can help with that, too... :-P
thanks and best regards,