using event structure problem

using event structure problem

Post by Ya-ho » Thu, 01 Jul 2004 05:20:33


My program structure is there is a event structure inside a while
loop. I want the program check equipment status when no event occurs.
How can I put this idle in my program?

Thanks.
 
 
 

using event structure problem

Post by altenbac » Thu, 01 Jul 2004 05:24:13

Create a "timeout" event and wire a reasonable timeout to the timeout
terminal.

Check your equipment inside the timeout event case, which will execute
whenever the wired timeout value expires.