|
Require Correct Responses |
Contents Previous Next |
|
Location: …\DirectRT\samples\5 other features\05 require correct response Sample Description In some cases you may want to require that the subject respond with the correct key before continuing. To accomplish this you can create a short text file called "incorrect.txt" in your session folder that tells DirectRT to take a special action when valid but incorrect keys are hit. Using this method, if the subject hits a valid but incorrect key then a prompt that you define will appear to tell subjects their response was incorrect and that they need to hit the correct key to continue. Try running the sample. It is the standard priming sample with the exception that the following text file called "incorrect.txt" is located in the session folder:
If DirectRT sees the "incorrect.txt" file in your session folder, then it will know to require a correct response on trials. This text file contains 4 values. The first is the style ID that you want to apply to the prompt that occurs when an incorrect response happens. The second value is the x-coordinate for the prompt and the third is the y-coordinate. The fourth value is the prompt itself. So in this case, when an incorrect response occurs, an "X" will appear 48% of the way across the screen and 70% of the way down, and it will appear in Style 3. Some notes about requiring correct responses:
See Also: |