up Inquisit Language Reference

response element

The response element specifies the procedure for obtaining and measuring responses.

Attributes

<response name>
/ mode = responsemode
/ rwCenter = integer
/ rwDecCondition = [(percentCorrect, latency), (percentCorrect, latency), ...]
/ rwDecUnit = integer
/ rwHitDuration = integer
/ rwHitStimulus = stimulusname
/ rwIncCondition = [(percentCorrect, latency), (percentCorrect, latency), ...]
/ rwIncUnit = integer
/ rwLatencymetric = latencymetric
/ rwMaxCenter = integer
/ rwMinCenter = integer
/ rwMissStimulus = stimulusname
/ rwStimulus = stimulusname
/ rwWidth = integer
/ srSignal = voicesignal
/ timeout = integer
/ timeout = expression

</response>

Properties

response.name.timeout
response.name.windowCenter
response.name.windowDecThreshold
response.name.windowDecUnit
response.name.windowHitDuration
response.name.windowIncThreshold
response.name.windowIncUnit
response.name.windowMaxCenter
response.name.windowMinCenter
response.name.windowOffset
response.name.windowOnset
response.name.windowWidth
response.name.name
response.name.typeName

Functions

None.

Remarks

Once a response element has been defined, it can be assigned to the response attribute of expt, block, or trial element in order to define the response procedure. Trial settings taking precedence over block settings, and block settings take precedence over expt settings.

Examples

The following response defines a response window with an initial center of 500 ms and width of 150 ms. A black exclamation point appears on the screen during the window. If the response is in the window, it turns green and remains on the screen for 300 ms. Otherwise it turns red. The window is incremented by 75 ms if the mean latency for the block is greater than the current center + 50 ms and the percent correct is less than 60%. The window is decremented if the mean latency for the block is 50 ms earlier than the window center and the percent correct is greater than or equal to 80%. The maximum window center 1000 ms and the minimum is 200 ms:

<response windowprocedure>
/ mode = window
/ rwcenter = 500
/ rwWidth = 150
/ rwinccondition = [(60, 50)] 
/ rwdeccondition = [(80, -50)] 
/ rwincunit = 75 
/ rwdecunit = 75 
/ rwmincenter = 200 
/ rwmaxcenter = 1000 
/ rwlatencymetric = mean
/ rwstimulus = blackexclamationpoint
/ rwhitstimulus = greenexclamationpoint
/ rwmissstimulus = redexclamationpoint
/ rwhitduration = 300
</response>

The following response specifies that trial advances when either a correct response is given or a two second timeout elapses.

<response myresponse>
/ mode = correct
/ timeout = 2000
</response>

Copyright Millisecond Software, LLC. All rights reserved.