The response attribute specifies the procedure for obtaining responses from the subjects.
Applies to
<expt> <block> <trial> <openended> <likert> <namingtrial>
Syntax
/ response = responsenameor
/ response = timeout(milliseconds)or
/ response = window(center, width, stimulusname)or
/ response = responsemodeParameters
| responsename | The name of a response element defined elsewhere in the script. | ||||||||||
| milliseconds | A positive integer specifying the duration in milliseconds. | ||||||||||
| center | A positive integer specifying the center of the response window. | ||||||||||
| width | A positive integer specifying the width of the response window. | ||||||||||
| stimulusname | The name of a stimulus element defined elsewhere in the script. | ||||||||||
| responsemode | One of the following values:
|
Remarks
None.
Examples
The following trial gives subject's 500 ms to respond before moving on to the next trial:
<trial mytrial>
/ stimulusframes = [1=sometext]
/ response = timeout(500)
/ validresponse = (" ", noresponse)
</trial>
The following trial requires the subject to respond correctly (with the "a" key) before moving on to the next trial:
<trial mytrial>
/ stimulusframes = [1=sometext]
/ response = timeout(500)
/ validresponse = ("a", "b")
/ correctresponse = ("a")
</trial>