up Inquisit Language Reference

response attribute

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

Member of

<block> <expt> <likert> <openended> <trial>


/ response = responsename


/ response = timeout(milliseconds)


/ response = window(center, width, stimulusname)


/ response = responsemode


responsename The name of a response element defined elsewhere in the script.
milliseconds A property or 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:
Value Description
free Any valid response may be given at any time.
correct A correct response may be given at any time. If a valid but incorrect response is given, the response is treated as an error. The correct response is recorded in the data file. The recorded latency is that of the correct response.
noresponse The trial does not wait for a response.
anyresponse Any response can be given at any time. All possible responses supported by the input device are considered valid.




The following trial sets the timeout to a parameter value:

<trial mytrial>
/ stimulusframes = [1=sometext]
/ response = timeout(parameters.timeout)
/ validresponse = (" ", noresponse)

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>
/ stimulusframes = [1=sometext]
/ response = timeout(1500)
/ validresponse = ("a", "b")
/ correctresponse = ("a")

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.