12-07-2004 10:35 PM
12-08-2004 08:04 AM
12-08-2004 09:00 PM
12-09-2004 01:34 AM
>
On a 2.8GHz Dell, running Windows XP & LabVIEW 7.0, 1000 iterations of both "1ms" sleeps and "2ms" sleeps gives an elapsed time of about 2 seconds, so it seems to me that on this box, the smallest increment of time is about 2ms, rather than 20ms.
12-09-2004 08:17 AM
12-13-2004 07:49 AM
12-14-2004 04:30 PM
12-14-2004 06:28 PM
12-15-2004 07:14 AM
12-15-2004 10:12 AM
@altenbach wrote:
Kelly, this thread drifted a bit from originally (1) looking for sub-ms wait, to (2) the discussion on forcing a task switch using a 0ms wait, to (3) issues with the minimum waits on hyperthreaded CPUs.
It is not clear what part you submitted for the help team ... 😉
I think (2) should be mentioned on the help pages for the wait functions.
However, the truth is a bit more complicated. For example, if you would modify my demo VI for higher loop counts (e.g. 10000), you'll notice that the entire concept of 0ms wait (to cause a task switch) falls apart after a few thousand iteration and the array elements no longer alternate. So, in reality, the issues are probably more complex.