up Inquisit Language Reference

setstimulusframe function

Sets the stimulus at the specified frame of a trial.

Member of

<likert>

<openended>

<slidertrial>

<surveypage>

<trial>

Syntax

element.name.setstimulusframe(value, index)

Parameters

Name Type Description
value stimulus The new stimulus.
index integer The index of the frame. The first item in the list is 1.

Examples

The following dynamically sets the first stimulus frame of a trial:

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

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