10-29-2010 07:06 AM
Hello everybody!
First the specs:
10-29-2010 07:48 AM
Can't say I have seen that although I have seen some other things (that was only able to stop by getting the operators to pull the network cable durring testing).
Questions;
Are you flushing before close?
Are you handling errors?
Is indexing turned on for the disks?
Anything interesting in the system log file during the time of the failures?
Ben
12-27-2010 10:08 AM
Thank you for your answer. Sorry for the delay of mine, I've been busy with other projects.
To answer your questions:
Are you flushing before close?
Yes. Always.
Are you handling errors?
Yes, more on that later.
Is indexing turned on for the disks?
Yes. And there seems to be nothing wrong with the files that do get written.
Anything interesting in the system log file during the time of the failures?
Nothing strange in the system log. I've inserted an errorlog in the program and it records that for some reason the DAQmx-read function times out when the problem occurs. The program then closes all DAQmx-tasks in the producer loop and starts over but the error remains for several minutes and the suddenly everything runs smoothly again.
When I replace the TDMS write vi with the write to spreadsheet vi or just plain text files the error does not occur and all files are written correctly.