PennController for IBEX › Forums › Support › Conditional trial › Reply To: Conditional trial
April 14, 2022 at 4:45 pm
#8055
![](https://www.pcibex.net/wp-content/uploads/2018/10/IMG_8365-e1540835663655-150x150.jpg)
Keymaster
Hi,
You might be interested in the explanations on this page
Your code creates two Video elements both named "28e"
, so when PennController creates the second one, it has to rename it to give it a unique name. You will need to give a different name to each Video element, and accordingly call wait
on the appropriate one depending on the value of the Var element
Jeremy