LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview and ntbackup.exe

I have a Labview log application that records data in a log file.
On a daily basis ntbackup.exe makes a backup of this log file.
The problem is that the application stops (Error 😎 at each ntbackup.exe execution.
Yes, the backup is made on the same time as the log application tries to write to the file.
The application log too fast for letting the ntbackup.exe have time for opening and processing and closing of file.
How do I avoid this error?  
 
0 Kudos
Message 1 of 2
(2,441 Views)

You probably can't completely avoid the error, but you can handle it.

For example - don't log all the time. Queue your data and only log it every N seconds. Then, if you try to log it and you get an error (check the error out terminal) then you can tell LV to skip one try and try it again later. If you keep getting errors, then you can alert the user.


___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,436 Views)