Not logging timestamps

PennController for IBEX Forums Support Not logging timestamps

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9972
    guy
    Participant

    Hello,

    Is there a way to have my experiment *not* log timestamps (that is, to remove the EventTime column), or to only log relative timestamps from a fixed starting time?

    Thank you!

    #9979
    Jeremy
    Keymaster

    Hello,

    This is not possible. You can, however, log time differences as additional columns by using global Var elements, eg:

    newTrial(
      newButton("Click me").print().wait()
      ,
      newVar("clickDelay",0).global().set(v=>Date.now())
      ,
      getButton("Click me").wait()
      ,
      getVar("clickDelay").set(v=>Date.now()-v)
    )
    .log("Delay", getVar("clickDelay")

    This will add a column reporting how much time separates the two clicks on the Button element. Note, though, that because commands take time to be executed, it is always optimal to use the EventTime column during the analyses to get as close to actual time differences as possible

    Jeremy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.