PennController for IBEX › Forums › Support › Refreshing canvas › Reply To: Refreshing canvas
June 7, 2021 at 11:54 am
#7027
Jeremy
Keymaster
Hi Rafael,
The Template
command from your post contains a trailing ,
after getText("value").text( getVar("value") )
and misses a closing parenthesis (you seem to include a closing parenthesis for Template(
but no closing parenthesis for newTrial(
)
Once I fix these two points, your scripts runs smoothly for me. I’m using PennController 2.0.alpha. If you are using an older version, it could be that using the same name ("value"
) both for the Text element and for the Var element creates a conflict, so maybe try using a different name for your Text element (eg. "value display"
)
Jeremy