LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Header information in text files

I have a VI which logs information every ten minutes into a text file. I want to add a header to the beginning of the file only once, not every ten minutes as with the rest of the information. How can I accomplish this.
0 Kudos
Message 1 of 2
(2,365 Views)
At the beginning of your test create the file outside a loop and write the header information to it. Then inside the loop, keep the file open then every 10 minutes append your data to it, then close the file when finished.
Message 2 of 2
(2,365 Views)