LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I queue a system event?

I have an application where the event handling is processed in the RunUserInterface() loop.

 

I would like to simulate pressing a sequence of command buttons and thus activate their callbacks, hence I would like to add a system event (EVENT_COMMIT on a given control) to the event queue to be handled in the event loop, (or just call their callback directly) - and then I need to add an event to the system queue to get back to my "simulation" subroutine (which I just implement as a call back as well).

 

I can of course add user events, but if I understand correctly, these events are not handled in the RunUserInterface() loop?

 

(How) can I add events to the system(?) event queue to be handled in the RunUserInterface() loop? Or do I need to set up my own event handling loop?

 

0 Kudos
Message 1 of 1
(2,718 Views)