The stimulusTimes attribute specifies the stimulus presentation sequence for a trial in terms of time in milliseconds.
<trial> <likert> <openended> <sliderTrial> <surveyPage>
or
/ stimulusTimes = [time = listname]or
/ stimulusTimes = [time = selectMode(stimulusname, stimulusname, stimulusname, ...)]Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
time | integer | A non-negative integer specifying the time in milliseconds relative to the beginning of the sequence. | ||||||||||||||||||||||||||||||||
selectmode | selectmodeenum |
|
||||||||||||||||||||||||||||||||
stimulusname | stimulus | The name of a stimulus defined elsewhere in the script to be presented on the specified frame. | ||||||||||||||||||||||||||||||||
listname | list | The name of a list that selects the stimulus to be presented on the specified frame. |
Given that digital monitors repaint the screen with a finite frequency (typically every 10 to 16.7 milliseconds), stimuli can only be physically presented on the display at the particular time the frame is repainted. Inquisit therefore rounds each specified time value to the nearest retrace frame boundary. For example, on a 60 hz monitor, a stimulus time of 3 would be rounded down to 0, a stimulusTime of 10 ms would be rounded up to 16.7 ms, and 36 ms would be rounded down to 33.3 ms in order to coordinate the times with the onset of the frame. Multiple stimuli can be assigned to a single time, in which case all of those stimuli are displayed simultaneouly at the given time.
Alternatively, stimulus presentation can be defined in terms of vertical retrace frames using stimulusframes.
The following trial presents a forward and backward masked prime for 10 milliseconds, and then presents a target stimulus that remains on the screen until the subject responds. Both masks are presented for 20 milliseconds.
<trial myTrial>
/stimulusTimes=[0=forwardmask; 20=prime; 30=backwardmask; 50=target]
/ validResponse=("a", "b")
/ correctResponse=("a")
</trial>
The following trial presents a forward and backward masked prime for 10 milliseconds, and then presents a target stimulus that remains on the screen until the subject responds. The particular forward and backward mask used on each trial are selected from list elements named forwardmaskselector and backwardmaskselector respectively:
<trial myTrial>
/stimulusTimes=[0=list.forwardmaskselector; 20=prime; 30=list.backwardmaskselector; 40=target]
/ validResponse=("a", "b")
/ correctResponse=("a")
</trial>
The following trial presents a focusstimulus for 500 milliseconds, then presents a two stimuli simultaneously on the left and right of the screen:
<trial myTrial>
/stimulusTimes=[0=focusstimulus; 500=lefttarget,righttarget]
/ validResponse=("a", "b")
/ correctResponse=("a")
</trial>