Hi,
I’m not sure what you mean by “consecutive values,” but your code as it is now logs the value of row.item
in each of the three columns:
.log( "item", row.item )
.log( "prime", row.item )
.log( "target", row.item )
So PennController reports in all three columns the value of the “item” cell from the row that was used to generate the current trial, as it’s been told to
You can find the timestamp corresponding to the keypress in the results line(s) corresponding to the Key element (which PennController knows to log because log
is called on the Key element: newKey("answerTarget", "FJ").log().wait() // Proceed upon press on F or J (log it)
)
You can then compute response time by subtracting timestamps, as illustrated using R in the advanced tutorial
Jeremy