LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any difference between Sleep and Delay ?

I guess everything is in the title... 🙂
Just to make sure "Delay" belongs to CVI while "Sleep" is part of the Windows SDK
If there is no difference which one should I use ?
If there are some differences, please tell me. This is not clear... @ least for me.
Regards, Philippe proud to be using LabWindows since version 1.2
// --------------------------------------------------------------------------------------------
Message 1 of 3
(5,933 Views)
CVIs delay function is (basically) a loop which can eat up processing time while the SDK sleep actually suspends the execution of the thread. If given the choice I would pick the SDK on this one...

More info here:
http://digital.ni.com/public.nsf/allkb/249E22A8822445D386256D9D0056D00E

Best regards...
0 Kudos
Message 2 of 3
(5,932 Views)
Sorry for the repost. I missed Chaos' link to the KnowledgeBase.

Message Edited by Wendy L on 05-10-2005 04:21 PM

Wendy L
LabWindows/CVI Developer Newsletter
Message 3 of 3
(5,919 Views)