The response attribute specifies the procedure for obtaining responses from the subjects.
<block> <expt> <likert> <openended> <sliderTrial> <survey> <surveyPage> <trial>
or
/ response = timeout(milliseconds)or
/ response = window(center, width, stimulusname)or
/ response = responsemodeName | Type | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
responsemode | responsemodeenum |
|
||||||||||||||
milliseconds | value | A property or positive integer specifying the duration in milliseconds. | ||||||||||||||
center | integer | A positive integer specifying the center of the response window. | ||||||||||||||
width | integer | A positive integer specifying the width of the response window. | ||||||||||||||
responsename | response | The name of a response element defined elsewhere in the script. | ||||||||||||||
stimulusname | stimulus | The name of a stimulus element defined elsewhere in the script. |
None.
The following trial sets the timeout to a parameter value:
<trial myTrial>
/ stimulusTimes = [0=myText]
/ response = timeout(parameters.timeout)
/ validResponse = (" ", noResponse)
</trial>
The following trial requires the subject to respond correctly (with the "a" key) in 1500 ms before moving on to the next trial:
<trial myTrial>
/ stimulusTimes = [0=myText]
/ response = timeout(1500)
/ validResponse = ("a", "b")
/ correctResponse = ("a")
</trial>