LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Inconsistent newline using Write to Text function


@JÞB wrote:

@ Not so lowly minion

Nope,  It'll convert any EOL it sees to the OS specific EOL and only add one if its missing one.

 

Open the example from the help and play with it to prove it to yourself.


Guess again, Jeff.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 11 of 13
(308 Views)

Capture.PNG

That's not quite kosherSmiley Frustrated


"Should be" isn't "Is" -Jay
0 Kudos
Message 12 of 13
(297 Views)

Thanks for your reply, altenbach. I will try to answer your questions, and if you have suggestions for a better way, please let me know!

 

The false case can only execute after the true case. The true case queries a device to obtain current channel names, which are then used as a header in the log file. The false case writes numeric data to the log file under the header.

 

Could you elaborate on why I should uncheck convert EOL? Is this causing the inconsistent behavior that I am seeing? If I add an end of line to my format into string function and uncheck convert EOL, do you believe that will fix the problem?

 

The sequence structure is leftover from some debugging I was doing and should be deleted. Thank you.

0 Kudos
Message 13 of 13
(294 Views)