Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

How to log the time of every single trial?

Hello,

is it possible to log the timestamps of every single trial within the experiment? Maybe even the time in milliseconds from the beginning of the experiment to every single stimuli?

I see that I can log the time of a sketchpad or other items. But I just got one sketchpad where a list of Items will be presented one after another. Every trial shows one item and I don't need the time when the sketchpad itself is presented. I'd like to log the time when each item was presented.

Is this possible with the "logger"-item or do I need to write a script to do this?

Thanks in advance for your help.

Christian

Comments

  • Hi Christian,

    Conceptually, you cannot change a sketchpad once it is presented. That means, every time something changes on the screen, a new canvas is presented. Whether this is the same canvas but with updated information, or a entirely new canvas depends on how you implement it, but it still is always a new call to a new canvas. These events are logged automatically (unless you switch it off), so that you should have all the timestamps already. Oh, and you need to call the logger every time between calling the same objects twice. Otherwise, the timestamps will be overwritten. For different objects this does not matter.

    Hope this helps,

    Eduard

  • Hi Eduard,

    thanks for te fast reply.

    I tried to log all variables again and I think I overlooked a variable and you're right; the time of every trial is already logged.

    My sketchpad is called Stimulus_1, so this variable should be the timestamp of every single trial, isn't it?


    Christian

  • Yup, exactly!

  • Great, thanks. :)

    There's another problem, but I'm not sure if this can be discussed here of if I should start another topic in the PyGaze forum.

    The timestamps I posted above are the times, which OpenSesame collects. The times, which are collected in the Pygaze_log are completely different. Is there a way to synchronize the times, which are logged by OpenSesame and Pygaze? I think I need to reset the time at the beginning of the experiment, so both timestaps are equal and I can match the trials from the OpenSesame-log and the Pygaze-log files.

Sign In or Register to comment.