up Inquisit Language Reference

resetStimulusFrames function

Resets the stimulus frames for a trial to their original state when the script was first parsed.

Member of

<trial><likert><openended><sliderTrial><surveyPage>

Syntax

trial.name.resetStimulusFrames()

Return Type

none

Parameters

None.

Remarks

The resetStimulusFrames function resets the /stimulusTimes command to its original values when the script was parsed. If the /stimulusTimes for a given trial has been dynamically modified using the setStimulusFrame, insertStimulusFrame, and/or removeStimulusFrame functions, this function restores the stimuluframes to their original state before these commands were called.

Examples

The following resets all of the stimuli from a trial:

<trial myTrial>
/ stimulusTimes = [0=fmask;2=prime;3=bmask;7=target] 
/ onTrialEnd= [trial.myTrial.resetStimulusFrames();]
</trial>

The following clears all of the stimuli from surveypage:

<surveypage myPage>
/ onTrialEnd= [surveypage.myPage.resetStimulusFrames();]
</trial>

Copyright Millisecond Software, LLC. All rights reserved.