up Inquisit Language Reference

response attribute

The response attribute specifies the procedure for obtaining responses from the subjects.

Member of

<block> <expt> <likert> <openended> <slidertrial> <survey> <surveypage> <trial>

Syntax

/ response = responsename

or

/ response = timeout(milliseconds)

or

/ response = window(center, width, stimulusname)

or

/ response = responsemode

Parameters

Name Type Description
responsemode responsemodeenum
ValueDescription
anyResponseAny response is accepted.
correctOnly correct responses are accepted.
freeValid responses are accepted.
noResponseNo response is accepted.
timeoutOnly responses made before a timeout as accepted.
windowOnly responses within the window are accepted.
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.

Remarks

None.

Examples

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>

Copyright Millisecond Software, LLC. All rights reserved.