PennController for IBEX › Forums › Support › Presenting sentence and question sequentially on the same page › Reply To: Presenting sentence and question sequentially on the same page
August 8, 2022 at 11:29 am
#8332
Jeremy
Keymaster
Hi Sanghee,
How about this?
newTrial( newText("target", "This is the target sentence").log().print() , newKey("showQuestion", "").log().wait() , newText("question", "Press F if the sentence is acceptable, J otherwise").log().print() , newKey("answer", "FJ").log().wait() )
Whenever you log
a PennController element, the results line reports the timestamp of the event, so you can subtract the timestamp for the target sentence from the timestamp for the showQuestion Key element to calculate how fast the participant revealed the question, and subtract the timestamp for the question Text element from the timestamp for the answer Key element to calculate how fast they moved on to the next trial
Jeremy