03-17-2009 02:11 PM - edited 03-17-2009 02:12 PM
The total amount of files per day is about 15,000.
OK, I would suspect that. What OS are you on?
Any OS will have a certain amount of trouble with that many files in one folder.
Consider implementing an hourly folder to reduce the number of files in one place.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
03-17-2009 02:19 PM
I see no popup dialog in case of an error in either of your VIs. I see where you do your error checking after the file write for your analog data, but the "error out" terminal in your file writing VI never exits the VI into your main program! In fact, your main VI doesn't even contain an "error out" indicator. Where, exactly, is the code containing your pop-up message? The only error cluster in your main VI is connected to your queue functions.
So I still don't see how you know whether or not an error occurred.
Take the "error out" cluster of your file writing VI and wire that to the terminal of your upper "While" loop instead. That way your loop will stop if an error occurs during your file write.
Or, as I suggested earlier, put a probe on the "error out" terminal of your file write VI and monitor that while your program is running.
03-17-2009 02:22 PM
We implemented this daily breakup about three weeks ago, before that we had many days worth of data in the same folder, about 100,000 files.
Again, we started noticing this about a week ago.
The OS is "Server 2003 ". I mentioned XP, but I made a mistake.
Why wouldn't the VI give an error?
03-17-2009 02:24 PM
03-17-2009 02:24 PM
Blog for (mostly LabVIEW) programmers: Tips And Tricks
03-17-2009 02:29 PM
Hi Diane,
I know there is no proper error handling for the analog file save, but for the digital, if you look into the "Write To Spreadsheet File" block diagram you will see that there is a "general error handler.vi" which will produce a popup message.
Victor
03-17-2009 02:30 PM
DianeS is right - your subVI goes through a lot of trouble to pass an error message out, but your main VI ignores it.
Perhaps you have an error and cannot see it.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
03-17-2009 02:30 PM
03-17-2009 02:32 PM
Hi Steve,
What do you mean with "your logic stops working"?
I noticed that the front panel continues to update with new data.
I had a feeling it had to do with the amount of files in the folder, but I could not find anything that states the limit of that number.
Victor
03-17-2009 02:33 PM
Diane,
Should'nt it generate the digital file anyway?