LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Backup Test Data and Restore Test If Crash

Hi all -

I wanted to get some outside perspective on a function I'd like to implement into a large test program I currently use.  In short...the test runs upwards of 45 hours per piece of hardware being tested.  It happens on occassion, that the program, or the computer will crash during test.  (I would question the reliability of the power supplies but I diverge.)  Its being tracked down as to why, but in the mean time I'd like to establish a software solution backup.

Here's what I'm thinking - but again, I'd like to know if there are better ways.  At certain mile markers, determined by the value of an integer stored to an inticator, a file will be created to a local folder.  When this happens all of the values of the variables I would like to restore, in case of a failure or freeze up, would be saved to the file.  Should the unit fail/freeze up, I would like to be able to hit a boolean control, and have a window pop-up listing the backup files for all the units that have been tested.  User can scroll till he finds the correct unit, select it, and when he does so it will load all of those variables stored into the program.  Thus restoring the most recent save point, which could save days of testing.

This idea sounds the most reasonable/professional to me, but i'd likely need a little help with loading the files.

What do you all think?


LV7.1, LV8.5, LV2014/15/16
0 Kudos
Message 1 of 3
(2,693 Views)
*bump*

Looks like the message was sent to page 2 before anyone had a chance to even read it
LV7.1, LV8.5, LV2014/15/16
0 Kudos
Message 2 of 3
(2,683 Views)
Your general concept seems reasonable. The Config File VIs make it easy to save control and indicator values to a file. The program could automatically read the config file upon starting. The program would probably just have one config file (separate from the data files of course). If it finds that the "Test Complete" indicator was False, it can setup for a restart. If "Test Complete" was True, then the last test completed normally and the program would set up with default values and wait for the operator to start a new test.

Lynn
0 Kudos
Message 3 of 3
(2,678 Views)