LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

erase text file

Is there a way to erase a text file automatically when labVIEW begins a vi? Or instead of erase, replace the text file?
0 Kudos
Message 1 of 4
(2,704 Views)
There's the Delete function on the File I/O>Advanced palette. To replace a file, use Open/Create/Replace File function. This is on the File I/O palette.
0 Kudos
Message 2 of 4
(2,700 Views)
Yes, you can (1) delete a file, (2) write an empty string to it so it is empty, or (3) simply start overwriting at position zero.

What do you mean by "replace the text file"? Replace with what? Replace the file or replace the content of the file?

Explain in a few more words exactly what you want to do. 🙂

Message Edited by altenbach on 06-20-2005 01:37 PM

Message 3 of 4
(2,699 Views)
I wanted to replace the content of a file.
Thanks, but i have already figured this out.

-FredFred
0 Kudos
Message 4 of 4
(2,683 Views)