If you are using a while loop you can put a shift register inside, what else you need is a concatenated string input which will accept your string in the first input and the EOL char in the second.
If you have a subvi, connect the string to the subvi's input and take the concatenated string at the output
Take a vi in 6.1 as an example
----------------------------------------------------------------------------------------------
There are 10 kind of persons. Those who understand binaries and the others.