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: 

writing to a file

I am hoping to get some help writing to a file. I have a large string (oa signal data.vi)and when it writes to a file it does not put an end of string at the end of each line. I have tried to put returns in my labview string command but it appears the string command when writing to a file does not recognize this. I am attaching the vi's. Thanks. 
0 Kudos
Message 1 of 3
(2,231 Views)
Your text has a line feed in it which is not the windows end of line marker. In windows, it is a CR\LF. All you have to do is wire a TRUE constant to the 'convert EOL' input of your write file function.
0 Kudos
Message 2 of 3
(2,223 Views)
Thanks Dennis. That was a simple fix that I was overlooking. Thanks again
0 Kudos
Message 3 of 3
(2,220 Views)