LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

carriage return in a text data file

When I saved various strings to text file, the carriage return code was not saved.
In mean the string "\r\n" and "\ra" are converted to "\n" or "a" in the text file
(under windows XP and LV 8.2.1)
 
Recently, I made some vi to lock a text file by producing some security code.
Therefore, such a behavior is very important to generate the code.
Are there any other special characters which not saved in the text file?
Or any vi to check the validity of common diplayable string to the text file?

메시지가 10-19-2007 11:17 PM에 labmaster에 의해 편집되었음

0 Kudos
Message 1 of 2
(2,823 Views)
Let's assume you use "write to text file". Have you tried to right-click the function and unselect "convert EOL"?
 
As another options, maybe you could use the binary file IO functions.
0 Kudos
Message 2 of 2
(2,816 Views)