The response latency for the last character typed into the textbox.
openended.name.lastCharLatency
Read Only
integer
None.
The following displays the value of lastCharLatency in a text stimulus:
<text myText>
/ items= ("lastCharLatency = <% trial.myTrial.lastCharLatency %>")
</text>
The following displays the value of lastCharLatency in an instruction page:
<page myPage>
lastcharlatency = <% trial.myTrial.lastCharLatency %>
</page>
The following code shows how to use 'lastCharLatency' (as well as 'firstCharLatency') to calculate the timings of different response stages during an openended trial (Note: 'this' represents 'openended.decision' in this context).
<openended decision>
/ ontrialEnd = {
values.respInitiationTime = this.firstCharLatency; //time (in ms) spent until first character is typed into the textbox
values.respExecutionTime = this.lastCharLatency-this.firstCharLatency; //time (in ms) spent for typing response in the textbox
values.respSubmitTime = this.latency - this.lastCharLatency; //time (in ms) spent until submitting response after typing the last character
}
</openended>