Gets or sets the stimulus presentation frame after which the participant may respond.
<trial> <likert> <openended> <sliderTrial> <surveyPage>
trial.name.beginResponseFrame
Read/Write
integer
This property indicates when, relative to the presentation of stimuli, Inquisit will begin registering participant responses. By default, Inquisit waits until the entire sequence of stimulus presentation frames has been presented before allowing responses.
The following displays the value of beginResponseFrame:
<text myText>
/ items= ("frame = <% trial.myTrial.beginResponseFrame %>")
</text>
The following displays the value of beginResponseFrame in an instruction page:
<page myPage>
frame = <% trial.myTrial.beginResponseFrame %>
</page>
This code example demonstrates how to change the 'beginResponseFrame' of a trial depending on the assigned experimental condition at trial onset. For values.expCondition = 1, participants responses are evaluated starting at frame 60; for any other condition responses are started from the first frame onward.
<trial myTrial>
/ onTrialBegin = {
values.expCondition = list.expConditions.nextValue;
if (values.expCondition == 1){
this.insertStimulusFrame(shape.wait,1);
this.insertStimulusFrame(shape.go, 60);
this.beginResponseFrame = 60;
this.insertStimulusFrame(clearScreen,120);
} else {
this.insertStimulusFrame(shape.go, 1);
this.beginResponseFrame = 1;
this.insertStimulusFrame(clearScreen,60);
}
}
/ stimulusFrames = [1 = fixation;]
/ validResponse = (" A" )
/ onTrialEnd = {
this.resetStimulusFrames();
}
/ postTrialPause = 500
</trial>