WAIT and TIMED_WAIT_UNTIL
jprovan
Posts: 16
I have the need, in a recursive routine, to use a unique WAIT name:
WAIT nTimeOut "'Timed Wait - ', Zone[nZone].name"
Something along those lines. The WAIT requires a literal string which disallows this from being stated. Is there another way of doing this that I am just unaware of ?
WAIT nTimeOut "'Timed Wait - ', Zone[nZone].name"
Something along those lines. The WAIT requires a literal string which disallows this from being stated. Is there another way of doing this that I am just unaware of ?
0
Comments
Typically what I would do is just do a switch case:
Perhaps you could do this with a Timeline instead.
Something like this. I did an old fashioned button stack for the example. You could do it just about any way you like.
I would try a switch case like in the code below.
Diagnostics window:
this is a classic example of an asyncronous two-way conversation. I used to write them almost exlusively with a Data_Event and a seriers of conditionals with waits in the DEF_PROGRAM section. While Timelines do add some complexity to the structure of the async loop w/conditionals, it does allow for a lot more flexibility in the end.
And since the Timeline identification uses a numberic id, it is easy to track and tie to other things.