PennController for IBEX › Forums › Support › Preloading resources by experiment list › Reply To: Preloading resources by experiment list
February 15, 2021 at 4:59 pm
#6610
emorgan
Participant
Hi Jeremy,
To follow up on this, our template is designed with a variable and plays a specific audio file from a group. It seems that in order to use the __counter_value_from_server__, we need to be inside the template. Is that right? If so, where would that switch statement go if the code structure looks like:
Template(“myTable.csv”, variable =>
newTrial(“music”,
newText (“Listen carefully to the melody.”)
.center()
.print()
,
newButton(“Play”)
.center()
.print()
.wait()
,
…
Thank you again for your help!
-Emily