User Tools

Site Tools


jvs:cigal:showplay:manual:chapter4:reset

ShowPlay Reference Manual, Chapter 4 (StimulusEvents): reset

Reset -- Reset the time base

usage: reset id flg start

The RESET command in a ShowPlay stimulus list causes the stimulus presentation clock to be reset to 0. The resetting is done at whatever moment the RESET actually occurred, not when it was nominally scheduled to occur. After a RESET, all subsequent start times in the stimulus list will be calculated as relative to the most recent reset time.

Resetting the clock is particularly useful in two contexts: 1) If you put a reset line at the end of a block of stimuli (with a start time corresponding to the total block length), multiple blocks of stimuli can be combined as independent modules. All start times within each block will automatically be adjusted to be relative to the end of the previous block (i.e., the last RESET). 2) You can code self-paced tasks by combining RWAIT and RESET commands. The RWAIT stimulus command waits for a response from the subject (or the operator). Placing a RESET immediately after an RWAIT lets the timing between task blocks be controlled dynamically. Having RESET commands within a stimulus list affects the way stimuli are initially sorted during loading. Without any RESET commands, stimulus commands can be listed in any order and will automatically be sorted chronologically by start times. With RESET commands in the list, the stimuli can still be listed in any order within a block between RESET commands, but they will only be sorted chronologically within those blocks.

See Also:
Paradigm parameter file, Stimulus table

CIGAL Home, CIGAL Manual, ShowPlay Home, ShowPlay Manual, Stimulus Event List, Manual Help

jvs/cigal/showplay/manual/chapter4/reset.txt · Last modified: 2023/02/23 18:43 (external edit)