01-14-2011 03:05 AM
Hi,
I am using LabVIEW 2009. Since I am currently using LabVIEW for my diploma thesis, I would really appreciate any and all help on my problem. So here is my problem:
The VI I wrote is constantly reading data off a VISA Serial Port and the resulting string is saved in a text file via "write to text file.vi". (The "write to binary file" produced additional data (mostly 00s) that I do not want to have in my data.) But when I open the text file and try to analyse the data each instance of 0A or 0D is replaced by 0D 0A. If the data is already 0D 0A this will not be touched.
Does anyone have a solution for this problem?
Thank you for taking the time to read my question....
Solved! Go to Solution.
01-14-2011 03:59 AM
This is a conversion of the EOL (end-of-line) by your text editor. Hex 0D 0A is CRLF.
I think you should use a different editor, or propably you can tell your editor that this data is binary format.
Felix
01-14-2011 04:23 AM
What happens if you right-click the "write to text file" and uncheck "convert EOL"?
01-14-2011 04:38 AM
Thank you for your reply.
I will try that. I hope that you are right.
01-14-2011 04:52 AM
altenbach, you are the man!
Works like a charm now! Thank you soooo much.