The resetRate attribute determines the frequency with which a clock in stopwatch or timer mode is reset.
<clock>
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
rate | resetrateenum |
|
This attribute determines whether a clock in stopwatch or timer mode is reset after each trial, block, or experiment. It has no effect for the visible part of the clock while in clock mode, although it will affect the value of the elapsedTime property.
The attribute would be set to 'block' for a timer used to indicate the amount of time left to perform a block of trials. For a stopwatch intended to display the amount of time spent on a trial, the attribute would be set to 'trial'.
The default setting is 'trial', which resets the clock at the end of each trial.
The following timer is reset at the end of the block:
<clock>
/ mode = timer
/ resetRate = block
/ format = "mm:ss"
</clock>