From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, 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: 

Append strings to file

Hi,

How do i modify "write characters to file.vi" such that every time i append a new string to the same file, it will start at a new line?
There is this parameter in the vi that is called "convert eol"? Read the help file but could not figure out what is a end of line marker. Please help.

Thanks.
0 Kudos
Message 1 of 2
(2,506 Views)
Hi,
the easiest way is to concatenate EOL symbol with your string and then write this new string to the file.
So you will write something like
EOL"your string". (or "/nyour string" in codes)
EOL symbol and "Concatenate strings.vi" you can find in "Functions/String/..."

Good luck.

Oleg Chutko.
Message 2 of 2
(2,506 Views)