Difference Between Write Characters to File and Write to Text File in LabVIEW

Updated Aug 30, 2023

Reported In

Software

  • LabVIEW

Issue Details

I am using the Write to Text File and Read from Text File functions in LabVIEW. I'm noticing they don't work as expected, especially when using a higher number of characters.

I didn't have this issue when using older LabVIEW functions like Write Characters to File and Read Characters from File.

Why am I seeing this behavior?

Solution

There is a right-click option on both Write To Text File and Read From Text File called 'Convert EOL'. If you deselect this option on both of those functions, you'll see the expected behavior, seeing equivalent functionality between the new API and the old API.
Write to Text File.png

Additional Information

You can find additional information about the Convert EOL option the the Help files for both the Write to Text File and Read from Text File functions.