ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create thread in LABWindows?

Hi everyone,

I am new to LABWindows and wondering how to create a thread in LW? I am trying use a thread to periodically read encoder data from my motion controller card and display them on a panel. I think I may have to use Windows function calls like CreateThread, ResumeThread, etc...?? which I know how to do in VC++.

Thanks,
V.
0 Kudos
Message 1 of 4
(4,262 Views)
There is a whitepaper in the CVI help files that explains this. Go to the Help Menu, select CVI Bookshelf. Select White Papers and Application notes and then Multithreading in CVI.

It's pretty simple to use.
Martin Fredrickson
Test Engineer

Northrop Grumman
Advanced Systems and Products
San Diego, CA 92128
0 Kudos
Message 2 of 4
(4,254 Views)
Thanks, Martin for your helps.
0 Kudos
Message 3 of 4
(4,236 Views)
My pleasure, sometimes all it takes is knowing where to look for the answer.
Martin Fredrickson
Test Engineer

Northrop Grumman
Advanced Systems and Products
San Diego, CA 92128
0 Kudos
Message 4 of 4
(4,231 Views)