|
Post by atefeh on Jul 31, 2019 15:33:13 GMT
hi again. I am scripting my own IAT. I need respondents to correct their error response by pressing the right key after seeing an error message. Using "repeat_on_error" makes respondents see the stimulus again and again until they press the right key which is not what I need. I do not want to repeat the same stimulus to get the right response, rather I want the respondents to be able to press the other key to continue whenever they see the error message. Is there any way to script this procedure? Thanks a million in advance.
|
|
|
Post by PsyToolkit on Aug 1, 2019 19:18:36 GMT
This is a bit complicated but it can be done. It requires some extra coding. For this, you need to work a bit on your PsyToolkit coding skills as well. I can give you a hint on how I would solve it. I imagine, currently (for just one response), you would have some line like this, where you get the correct response from the first column of your task table and you wait up to 5 seconds (5000 ms):
readkey @1 5000
Now let us ad a bit of code to check for the correct response, it is fairly simple.
readkey @1 5000 while STATUS != CORRECT readkey @1 5000 while-end save RT STATUS
Now, the above lines do it, but this way, you do know the last RT only. You can write some extra code using a time stamp to get the full RT and so on.
|
|
|
Post by atefeh on Aug 2, 2019 12:01:08 GMT
Thank you very much Dr Stoet. To me, coding in Psytoolkit is really amazing. I enjoy working on codes to find the best way to get the desired results. will try my best to improve my skills so! Thanks again for your kind attention and help.
|
|