up Inquisit Language Reference

latencytarget attribute

The latencytarget attribute repeats a block until the specified latency criterion is met.

Member of



/ latencytarget = (property, target, maxblocks)


property The performance measure (e.g., "meanlatency", "medianlatency").
target An integer indicating the target performance level. For example, if the property is meanlatency, a value of 500 would set the threshold to 500 milliseconds.
maxblocks An integer indicating the maximum number of iterations of the block to run before moving on, regardless of whether performance has reached the target. A value of 0 indicates there is no maximum.


When a latencytarget is specified for a block, the block is repeated until the subject's response latencies reaches the specified threshold, or until the specified maximum number of blocks is run. This command is useful for practice blocks where it is important that performance reaches a desired threshold before moving on to data collection blocks. The command can be combined with the correcttarget command to define both speed and accuracy thresholds.


In the following block repeats itself until either the mean latency over the block is less than or equal to 500, or the block is repeated 5 times, whichever comes first:

<block myblock>
/ trials=[1-100=sometrial]
/ latencytarget=(medianlatency, 500, 5)

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