Measuring length of a response

17 views
Skip to first unread message

Reed Maxwell

unread,
May 31, 2016, 4:58:28 PM5/31/16
to E-Prime
Hi, all - let's say someone presses a keyboard button 13 times as an input response. Does anyone know how to calculate the duration of that response from first to last key press? Which variables in the data output represent that value? 

David McFarlane

unread,
Jul 19, 2016, 2:36:59 PM7/19/16
to e-p...@googlegroups.com
You have to do some extra work to get that data. I would use the
ResponseDataCollection of the input mask of the stimulus object, e.g.,

t = StimSlide.InputMasks(1).Responses(13).RTTime -
StimSlide.InputMasks(1).Responses(1).RTTime

Take a look at the "Multiple Response Collection" example that you may
download from the PST website, and look at the appropriate topics in the
E-Basic Help facility.

-- David McFarlane
Reply all
Reply to author
Forward
0 new messages