LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Multithreaded applications in CVI

In the NI app note 112 "Building Multithreading Applications with LabWindows/CVI", a process control example is discussed. Is the code for this example available anywhere? I've looked in the CVI directory on my local drive with no luck.
0 Kudos
Message 1 of 2
(2,646 Views)
It looks like they reworked the example to use an asynchronous timer in the sample project ..\CVI\samples\toolbox\asyncdem.prj. An asynchronous timer runs in its own thread, but, going through the function panel asynctmr.fp, you don't have to manage the threads directly. The function panel source files asynctmr.c and asynctmr.h also ship with CVI if you want to see the details.
Multiple app notes and tutorials on multi-threading can be found here. CVI also ships with multi-threading sample projects under ..\CVI\samples\utility\Threading
Message 2 of 2
(2,646 Views)