synchronizing Events

I am using a timer interupt sub to request timely data, that triggers an event multiple times. I want to stay in the timer sub and wait for the event data to come in. Is there an easy way to tell when the event is over? Thanks Bill


  • seancampbellseancampbell Pennsylvania, USA
    I'm not expert. As far as I know:
    If you raise an event, there is no way within that function to know if other routines Handle that event, and if those Handlers have completed. The only thing I can think of would be to set a global Boolean (possibly EventComplete = False) when you raise the event and have the specific function handling that event set "EventComplete = True" at the end.

    Hope that helps,
    Sean Campbell
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion