Hi I have an event based producer-consumer loop . Inside the producer loop I have the event structure and then I queue the events and response to the events using a case structure in my producer loop.
The problem I have is . I have lots of controls on my front panel and when I click on one control I don't know how long does it takes to process the evennt-queue the message and process that specific case in my producer loop
How and where can I use an indicator to show there is no event ( green light ) and we are waiting for an event
and red indicator to show something is processing
Thanks