I’m building this project for a theatre play where I have different bases for different scenes of the play.
I’m calling the bases one after another depending on the setlist, enabling to cook only the bases i’m using.
When I call a new base, right after enabling the cooking, I run a script contained in the base to initialize some values.
I have a random problem with counts CHOP which sometimes doesn’t get initialized and stay blank, causing error on the dependent operators because the output is undiffined (noneType).
Since it is random I don’t know how to fix it (maybe a problem of order of operations sometime?)
To initialize the counts I use:
op("counter1").par.resetvalue = 0 op("counter1").par.resetpulse.pulse()
Any thoughts on how I could improve this would be welcome