Gets or sets the stimulus presentation time at which the participant may respond.
<trial> <likert> <openended> <sliderTrial> <surveyPage>
trial.name.beginResponseTime
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 beginResponseTime:
<text myText>
/ items= ("time = <% trial.myTrial.beginResponseTime %>")
</text>
The following displays the value of beginResponseTime in an instruction page:
<page myPage>
Time = <% trial.myTrial.beginResponseTime %>
</page>
This code example demonstrates how to change the 'beginResponseTime' of a trial depending on the assigned experimental condition at trial onset. For values.expCondition = 1, participants responses are evaluated starting at 1000ms; for any other condition responses are started from the start.
<trial myTrial>
/ onTrialBegin = {
values.expCondition = list.expConditions.nextValue;
if (values.expCondition == 1){
this.insertStimulusTime(shape.wait,0);
this.insertStimulusTime(shape.go, 1000);
this.beginResponseTime = 1000;
this.insertStimulusTime(clearScreen,2000);
} else {
this.insertStimulusTime(shape.go, 0);
this.insertStimulusTime(clearScreen, 1000);
this.beginResponseTime = 0;
}
}
/ stimulusTimes = [0 = fixation;]
/ validResponse = (" A" )
/ onTrialEnd = {
this.resetStimulusFrames();
}
/ postTrialPause = 500
</trial>