06-06-2016 08:25 AM
I created a LabView VI using the "User Interface Event Handler" template.
While one command (event) is executing, I would like to be able to process and execute additional user events.
For example, button 1 executes a power interrupt by sending a power off command to the remote device, waits 10 seconds, then sends a power on command.
While I am waiting 10 seconds to execute the ''power on' command, I'd like to be able to run 'button 2' and so on.
Thanks for your help...
Solved! Go to Solution.
06-06-2016 08:43 AM
This is often done by having another loop that handles the "long" events. Use a queue to send the message to this loop. Then the event handling loop can service the other events.
Another option is to dynamically call a VI to run asynchonrously so that its running happens in parallel with everything else.
06-06-2016 08:53 AM
Thank you.