up Inquisit Language Reference

setstimulustime function

Sets the stimulus at the frame of a trial corresponding to the specified time.

Member of

<likert>

<openended>

<slidertrial>

<surveypage>

<trial>

Syntax

element.name.setstimulustime(value, time)

Parameters

Name Type Description
value stimulus The new stimulus.
time integer The time in milliseconds corresponding to the frame to get.

Examples

The following dynamically adds a stimulus to be presented at 1000 ms to a trial:

<trial sometrial>
/ ontrialend= [if (trial.sometrial.response == 50) trial.test.setstimulustime(text.condition1, 1000); ]
</trial>

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