08-29-2007 09:50 AM
08-30-2007 03:17 AM
Hi there,
After what you have said I would say that the extra programming you have done since it all worked uses up CPU time and therefore slows down your computer. The only way around this is to either refactor your code so that is works much quicker, or to increase the number of samples you read from the card each itteration.
Where abouts is the program throwing up this error? Does the timed loop itterate a number of times or does it drop out on the first itteration.
Try placing itteration counters on the timed loops. It may be that you start the input task and then wait 4 seconds before you read the first set of results. (You have a 4 second delay in the first sequence and there is no way of knowing at the moment which vi starts at what time.) I would make sure that you wait 4 seconds and then run the setup vi just in case.
Hope this helps and if you have any more questions then by all means just post back.
Thanks
AdamB