response attribute

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

Applies to

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

Syntax

/ response = responsename

or

/ response = timeout(milliseconds)

or

/ response = window(center, width, stimulusname)

or

/ response = responsemode

Parameters

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:
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 first valid response, correct or incorrect, is recorded in the data file. The recorded latency is the 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.

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>


Send comments on this topic.
1999-2006 Millisecond Software, LLC. All rights reserved.