experiment time
Dear OpenSesame team and forum,
is there a variable that i can log that continously gives me time stamps?
I mean something like a global time or experiment_time variable that starts on zero when the experiment is started and keeps on running in ms as the experiment goes on.
Thanks,
Stephan
Comments
Hi @DahmSF,
I don't believe there is such variable running like a time watch, but the time stamp for every object in the experiment is available to be outputted in the data log and you can use it to verify/determine the time elapsed between specific events in your experiment (see "item variables" here: https://osdoc.cogsci.nl/3.3/manual/variables/).
If you'd like a time stamp based on the system time, you can also do so but you'd have to used code to save that information into a variable everywhere you want that time stamps to be taken (see https://forum.cogsci.nl/discussion/2248/system-time-for-each-sketchpad).
If you'd like a time stamp when the experiment begins and another when it ends in order to measure the duration of the whole experiment, you could save the timestamp of the first object in a variable and then subtract it from the timestamp for the very last one.
The developers might have more complete advice, but I think that's the gist of it.
Hope this helps,
Fabrice.