i am using many events structures in my application,but i am...

i am using many events structures in my application,but i am...

Post by golu » Wed, 07 Jan 2004 17:55:40


i am using many events structures in my application,but i am getting
caught in my problems ,can any body tell me abt events programming on
time out

i have extensive gui application ,i am using events ,but i am caught,i
want to konw abt events ,there pros and cons,time out ,how to program
in time out
 
 
 

i am using many events structures in my application,but i am...

Post by John Ric » Thu, 08 Jan 2004 01:54:21

It is unclear as to exactly what you are asking. The event structure
is very handy for monitoring front panel activity and performing tasks
accordingly. The default event in the event structure is the timeout.
In order to set the timeout you just wire the amount of time before
timeout (in ms) to the timeout terminal of the structure. You may
have tasks that you want to perform at timeout or you may just have an
empty case. I strongly suggest using a timeout and putting the case
structure in a while loop in order to keep monitoring the events until
the loop exit condition has been met.