Reply To: Timers

PennController for IBEX Forums Support Timers Reply To: Timers

#7326
Jeremy
Keymaster

Hello,

It would help if you could share the demonstration link to a project that exhibits the problem. When I try to complete the beginning of the script with either pieces of code, things run normally

This works:

Template("Word Pair List .csv" , row =>
  newTrial( "experimental-trial" ,
    defaultText.center()           
    ,
    newText("word", row.Word)      
        .css("font-size", "24pt") 
        .log()                     
        .print()
    ,
    newText("transition")       
        .log()                     
        .print()
    ,
    newTimer(2000).start().wait()
  )
  .log( "transition"    , row.Transition      ) 
)

and this works too:

Template("Word Pair List .csv" , row =&g; 
  newTrial( "experimental-trial" ,
    defaultText.center()           
    ,
    newText("word", row.Word)      
        .css("font-size", "24pt") 
        .log()                     
        .print()
    ,
    newText("transition")       
        .log()                     
        .print()
    ,
    newTimer(6000).start().wait()
 )
  .log( "word"    , row.Word       ) 
)

Here is my mock Word Pair List .csv table, for reference:

Word,Transition
hello,transition1
world,transition2

Jeremy