LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I run my sample routine more quickly?(again)

Dear sir:
I've asked this question in the day of 04/11. Someone suggest using AsyncTimer and I try this method. But I find I can handle it very well. Because my timer accuracy must be less than 0.5ms. After I used NewAsyncTimer(0.0001,-1,1,NULL), my system had gone out of work. I've read that the 'intervel' should not be less than 10ms. So I think this func is not suitable for me. I want to use Multi thread in CVI, but I'm not konw how to program in windows very well. I need some advises. Could anyone tell me if I can find some examples in CVI and where can I find them?
Thank you very much!
0 Kudos
Message 1 of 2
(2,826 Views)
First, realize that Windows doesn't have a system timer with a resolution smaller than 1ms.

For multithreading examples in CVI 5.5, first read the MultithreadingOverview.pdf in \cvi\bin. Then look at the examples in cvi\samples\utility\Threading.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
Message 2 of 2
(2,826 Views)