PennController for IBEX › Forums › Support › stimuli presentation order logging › Reply To: stimuli presentation order logging
June 8, 2022 at 12:05 pm
#8225
Jeremy
Keymaster
Hi,
All PennController results lines include an EventTime column, and by default all PennController trials report a results line for when the trial started: you can use the value of the EventTime column from those lines to sort the trial by running order (note that the lines int the results file should already be sorted using the values from that column)
Another option would be to do something like that:
Header(
newVar("runningOrder", 0).global().set(v=>v+1)
)
.log("runningOrder", getVar("runningOrder"))
Jeremy