12-08-2006 03:19 PM
12-11-2006 06:47 PM
12-12-2006 08:56 AM
12-12-2006 12:43 PM
Hi LabVU_Dog,
I looked at your code and it looked fine at first glance.
Where you are using queues I would use a LV2 set for subroutine priority and use the "skip if busy".
That aside;
I can not say that I have run a timed loop for hours but I have run two timed loops using hardware timing at 1000Hz with no lates after 20 minutes.
If the sub-routine thing does not fix it, I suspect you are dealing with the limitations of Windoze.
On that note, if you watched Performance Monitor while the hit is happening (yeah right he says) you may be able to nail the culprit.
Here is a short list of other things to try
1) Set Windows to optimize background services.
2) Stop Indexing services.
3) Set LabVIEW priority in Task manager.
4) Shutdown Virus Checking.
5) Disconnect Ethernet cable.
6) Set the VI properties of the sub-VI that will run the Timed Loop to "Priority = Time Critical" and "Execution Thread = Data Acquisition".
If any of the above helps, PLEASE report back so we can keep track of what the issue was.
Trying to help,
Ben
PS: Nice code! I am not used to seeing code that good from a non-regular on this forum.
12-12-2006 01:13 PM
12-12-2006 01:19 PM
12-12-2006 02:44 PM
To help ID the source of the "hang-up", could you toss the queue operations long enough to satify yourself that they either are a factor in the hang-up or not?
Ben
12-14-2006 01:09 PM
12-14-2006 01:22 PM
Did you shutdown the indexing of your disks? That is notorious for wasting CPU just so you can find files faster.
Ben
12-14-2006 02:51 PM