09-12-2010 10:31 AM
I am using a VI to average measurement data every minute and transfer/store to an .xlt file. After 30-60 minutes, experience a failure to write to the file. Running Labview 8.5.1 on a Vista platform. Need to understand why this is happening and how I might solve this problem. Is this a Labview problem interfacing through Vista, and if so, does the 8.6 upgrade solve the problem?
09-12-2010 11:20 AM
What's the error message that you get? How large is the file?
09-12-2010 05:03 PM
No error message, just a complete lack of writing the regular 60 sec data entry. The file simply quits writing at a random time with no warning. The file has only 6 data entries per line with each 60 sec time step.
09-12-2010 06:57 PM
Can you post your code?
09-13-2010 07:28 AM
I will do that, however, the fact that the VI would write correctly for a least 30-60 lines of data, suggested to me that this perhaps was eithier a problem of Lavview with Vista, or an internal interrupt from the computer that was occurring that interrupted the write. Left running, the VI would pick-up again writing much later leaving a large gap in the data.
09-13-2010 08:08 AM
I am attaching the VI block "save & save".
09-13-2010 11:06 AM
I use Vista and have no problems writing to a file,
This code is obviously a subVI that you call. Since the Write to Spreadsheet has the General Error Handler that would popup with an error message, perhaps the problem is with the calling VI. How do you determine how often to call this?
09-13-2010 01:25 PM
Yes, and so, I have included the full VI here for your review and comments.
09-13-2010 01:44 PM
You did not include the most important subVI - 'Has-60-sec-passed'.
During the time that you see the file writes stop, do you see changes in the flow and temperatures?
09-13-2010 02:28 PM
Okay, here it is...