LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Message?

How can I send a message (something like CLICKED_BUTTON of controls)to message queue. I'd like to call the callbackfunction of the control,but I don't want to just call the function directly.I want to send message to message queue,and RunUserInterface function will deal with it then.
Thanks.
0 Kudos
Message 1 of 2
(2,968 Views)
Have you looked into the PostDeferredCall function of the UI Library? It seems from your description that it will do pretty much what you are looking for.

If you want to send different events to the same function, you can use the callbackData parameter to specify the event.

Luis
NI
Message 2 of 2
(2,968 Views)