Wait_Until Question
I have a wait_until placed in each of my source functions, but it seems that the wait_until only triggers when the system was previously off, not while it is on:
DEFINE_FUNCTION fcnDVD() { IF (nPower = 0) //Room Off { //turn room on, set waits/timelines, etc fcnPwrOn() } WAIT_UNTIL(!TIMELINE_ACTIVE(tl_ProjWarmUp)) { SEND_STRING dvPROJ, "cProjComp,fcnCheckSum(cProjComp)" //proj component input nCurrentSource=1 } }My hope here was that the wait_until would work as a sort of flag when the system is already on. Am I just coding this wrong, or do I need a different flag to check other than the active/inactive timeline? I figured the timeline was good because it has the necessary 45 sec. delay aready in it.
0
Comments
This would also be easier to track in debug for troubleshooting purposes.
Jeff