Reply To: No reading times on results file

PennController for IBEX Forums Support No reading times on results file Reply To: No reading times on results file

#5860
noedoc1
Participant

Thanks, Jeremy! This worked perfectly! I also wanna get the question reading time, so considering what you’ve sent, I wrote this. I just wanted to run it by you to check if it’s ok where I place the second RT variable:

Template( variable=>
newTrial("experimento",
    newText("*")
    .css("font-size", "1.3em")
    .print() 
,
    newKey(" ")
    .wait()
    .log("all")
    .disable()
,
    getText("*")
    .remove()
,
    newText(variable.oracion)
    .css("font-size", "1.3em")
    .print()
    .log()
,
    newVar("RToracion")
    .global()
    .set(v=>Date.now())
,    
    newKey(" ")
    .wait()
    .log("all")
,
    getVar("RToracion")
    .set(v=>Date.now()-v)
,
    getText(variable.oracion)
    .remove()
,    
    newText(variable.pregunta)
    .css("font-size", "1.3em")
    .print()
,
    newVar("RTpregunta")
    .global()
    .set(v=>Date.now())
,
    newButton("fem.s", variable.uno)
    .css("font-size", "1.3em")
    .print()
,
    newButton("mixto", variable.dos)
    .css("font-size", "1.3em")
    .print()
,
    newButton("fem.p", variable.tres)
    .css("font-size", "1.3em")
    .print()
,
    newButton("masc.s", variable.cuatro)
    .css("font-size", "1.3em")
    .print()
,
    newButton("masc.p", variable.cinco)
    .css("font-size", "1.3em")
    .print()
,
    newButton("fem.tres", variable.seis)
    .css("font-size", "1.3em")
    .print()
,
    newButton("ninguna", variable.siete)
    .css("font-size", "1.3em")
    .print()
,
newSelector()
    .add(getButton("fem.s"), getButton("mixto"), getButton("fem.p"), getButton("masc.s"), getButton("masc.p"), getButton("fem.tres"), getButton("ninguna"))
    .shuffle()
    .log("all")
    .wait()
,
    getVar("RTpregunta")
    .set(v=>Date.now()-v)
)
    .log( "RToracion" , getVar("RToracion") )
    .log( "RTpregunta" , getVar("RTpregunta") )
)

Thanks again for everything!