LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I/O file

Highlighted
I have a bunch of strings that I would like to write to the same file. I
want each string to be on a different line. Up to now, all the strings
are on the same line. What could I do

Thanks for your assistance

Alexandre Berchemin-Sirven


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 6
(1,474 Views)
Highlighted
> I have a bunch of strings that I would like to write to the same file. I
> want each string to be on a different line. Up to now, all the strings
> are on the same line. What could I do

When you put the strings together (either in concatinate strings, or in your
loop... etc.) just append an "End of Line" character to the end of the
string. To get this, go to the string menu, and you'll see six pink boxes
that represent different strings. The fifth one is the End of Line, which
is what you want. Concatinate your string with the EOL character and you're
all set!

HTH,
Rick
--

rick@csciences.com

Chesapeake Sciences Corp.
1127B Benfield Blvd Millersville, MD 21108

Tel: (410) 923-1300 x3430 Fax: (410) 923-2669
0 Kudos
Message 2 of 6
(1,474 Views)
Highlighted
Thanks for our assistance


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 6 of 6
(1,472 Views)
Highlighted
In article <7tce6g$i3u$1@nnrp1.deja.com>,
berchemin@my-deja.com wrote:
> I have a bunch of strings that I would like to
write to the same file. I
> want each string to be on a different line. Up
to now, all the strings
> are on the same line. What could I do
>
> Thanks for your assistance
>
> Alexandre Berchemin-Sirven
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Alexandre,
You should send at the end of the
line a caracter " \r\n "




Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 3 of 6
(1,474 Views)
Highlighted
Alexandre
You should send at the end of the line a caracter
" \r\n "



In article <7tce6g$i3u$1@nnrp1.deja.com>,
berchemin@my-deja.com wrote:
> I have a bunch of strings that I would like to
write to the same file. I
> want each string to be on a different line. Up
to now, all the strings
> are on the same line. What could I do
>
> Thanks for your assistance
>
> Alexandre Berchemin-Sirven
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>



Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 4 of 6
(1,473 Views)
Highlighted
thanks for your assistance


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 5 of 6
(1,472 Views)