up Inquisit Language Reference

resetInterval property

The resetInterval attribute determines how many blocks should be run before a counter's randomly selection pool should be reset.

Member of

<counter> <list> <html> <picture> <port> <sound> <text> <video> <xid>

Syntax

object.name.resetInterval

Read/Write

Type

integer

Remarks

Resetting the counter causes all items that have been selected to be returned to the selection pool. For selection with replacement, resetting the counter has no effect. By default, Inquisit resets counters after each block. This attribute is useful in cases where an experiment performs random selection without replacement over more than one block.

Examples

The following block shows how to adjust the resetInterval of a list at the start of a block. In this case, list.targetDurations resets its selection after one block whether or not all items have been sampled. A later block could change the resetInterval back if needed.

<block adjustInterval>
/ onBlockBegin = {list.targetDurations.resetInterval = 1}
/ trials = [1=playBeep]
</block>

Copyright Millisecond Software, LLC. All rights reserved.