LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

user event in CVI

I am developing the application based on the multithreading.
So for the event between two thread, I want to make the user event.
How can I make this?
 
many thanks.
0 Kudos
Message 1 of 3
(2,902 Views)
One simple way to launch functions from one thread to another is to use PostDeferredCall and PostDeferredCallToThread. The first one calls a callback to be executed in the main thread, while the second does the same in the thread passed to the function.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(2,897 Views)

Hi yena,

It appears you will be doing some multithreading in LabWindows/CVI. To help you develop your application and get a good foundation on multithreading, see Multithreading in LabWindows/CVI and General Information

Hope this helps!

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 3 of 3
(2,888 Views)