LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have a log file going to a text format in one directory. I would like to have a back up file going to another directory.

Using Labview 6, pci card. I am using a vi that works perfect for my application, need to be able to write to a primary file and a back up file. Thank you
0 Kudos
Message 1 of 4
(2,577 Views)
If I understand you correctly, you would like to create
two separate files with the same data.

Just duplicate the code that creates the primary file,
with an alternate file path for the backup.

Hope this helps.
0 Kudos
Message 2 of 4
(2,577 Views)
Another option would be to open up another file at the end of your VI, and just use "Read from File" to read from the original file and "Write to File" to write into your backup. Write the entire file to your copy and you will have a backup.
J.R. Allen
0 Kudos
Message 3 of 4
(2,577 Views)
Or just use the coppy file function...
0 Kudos
Message 4 of 4
(2,577 Views)