LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 8.5.1 VI data write failure in Vista

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?

0 Kudos
Message 1 of 13
(3,503 Views)

What's the error message that you get? How large is the file?

0 Kudos
Message 2 of 13
(3,494 Views)

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.

0 Kudos
Message 3 of 13
(3,479 Views)

Can you post your code?

0 Kudos
Message 4 of 13
(3,473 Views)

 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.

0 Kudos
Message 5 of 13
(3,455 Views)

I am attaching the VI block "save & save".

0 Kudos
Message 6 of 13
(3,447 Views)

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?

0 Kudos
Message 7 of 13
(3,427 Views)

Yes, and so, I have included the full VI here for your review and comments.

0 Kudos
Message 8 of 13
(3,412 Views)

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?

0 Kudos
Message 9 of 13
(3,408 Views)

Okay, here it is...

0 Kudos
Message 10 of 13
(3,400 Views)