From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clear a text file

hi need help
how to clear the content of the text file with out delete the text file
0 Kudos
Message 1 of 8
(3,208 Views)
Try using the Open/Create/Replace fucntion, set it to Create or Replace, then just close the file without writing any new data.
Message 2 of 8
(3,207 Views)
i cant get it
let say i have tis c:\\abc.txt
aftr  tht i copy the text to another destination
the text file in c:\\
should be cleared all the content of abc.txt
 
can u give some exmple plz?
0 Kudos
Message 3 of 8
(3,200 Views)
HI jeyanthi
here with i attached the file...see this .. enter the file path and run ......i hope its helps u............
------------------------------------------------------------------------------------------------------------------
Indrajit

| indrajitbarve@gmail.com | indar_indar2005@yahoo.co.in .
Message 4 of 8
(3,198 Views)
hi im using labview8.0 cant open the 8.2.can u paste the .png of the block diagram .thk u
0 Kudos
Message 5 of 8
(3,192 Views)
Hi jeyanthi,
this is the part you need.
 
 
Mike


Message Edited by MikeS81 on 06-05-2008 10:39 AM
Message 6 of 8
(3,187 Views)
here is the file see
------------------------------------------------------------------------------------------------------------------
Indrajit

| indrajitbarve@gmail.com | indar_indar2005@yahoo.co.in .
Message 7 of 8
(3,180 Views)
thk u its helps
0 Kudos
Message 8 of 8
(3,172 Views)