up Inquisit Language Reference

insertstimulustime function

Adds the stimulus to the frame of a trial corresponding to the specified time.

Member of

<likert>

<openended>

<surveypage>

<trial>

Syntax

element.name.insertstimulustime(value, time)

Parameters

Name Type Description
value stimulus The new stimulus.
time integer The time in milliseconds.

Examples

The following dynamically adds an error feedback stimulus to the trial if performance dips below 50%:

<trial sometrial>
/ ontrialend= [if (trial.sometrial.percentcorrect <= 50) trial.test.insertstimulustime(text.errorfeedback, 0); ]
</trial>

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