LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i clear a text file.....

Solved!
Go to solution

Hi All...

 

I wud like to know how to clear a text file....

 

 

Currently am replacing the text file and writing...Actually i need to open the  file(after clearing the contents)and write.

 

 

I think replacing the file each time is not a good idea...

So please let me know how to clear the text file.

 

Thanks in advance.

0 Kudos
Message 1 of 6
(12,549 Views)

If this question is related to this thread please continue there

 

Thanks,

Mathan

0 Kudos
Message 2 of 6
(12,547 Views)

I didnt post it there bse its not completely related to that...There i was not didcussing about clearing text file...U cud find the difference i think....

 

0 Kudos
Message 3 of 6
(12,537 Views)
Solution
Accepted by user_1
You can set the file size to zero using "Set File Size" from the advanced file io palette.
Message 4 of 6
(12,530 Views)
Thanks for the solution
0 Kudos
Message 5 of 6
(12,526 Views)
Thank you for the answer..simple but very useful for me.
0 Kudos
Message 6 of 6
(11,408 Views)