LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

automatically replacing a file without giving permission

How do you replace a file in LabVIEW without having to give permission?
0 Kudos
Message 1 of 2
(2,585 Views)
Just wire a FALSE to the advisory dialog input of "Open/Create/Replace file.vi". (Some higher level file I/O function do not expose this option, so you might have to use low level functions. You could also modify one of the high level function and save it under a new name. )
 
Alternatively, you could simply delete it before writing it again. The delete function is in the advanced file I/O palette.
 
How are you writing to the file?
0 Kudos
Message 2 of 2
(2,582 Views)