02-26-2009 06:58 AM
With labview version 8.6.1 localization of end-of-line is not the same with all functions on my compact RIO 9012 target. "End of Line Constant" seems to be CR-LF, but "Array To Spreadsheet String" seems to use only one character. Is it a bug? What is the correct end-of-line for compact RIO? When the same VI is run on Windows XP both functions use CR-LF and it works as expected.
03-06-2009 06:40 AM
01-06-2010 05:58 AM
Old topic, but the problem just occurred again... it is cRIO-specific:
On cRIO the "End of Line Constant" seems to be CR/LF, but the "Array To Spreadsheet String Function" uses LF. I find this inconsistent.
"End of Line Constant" should be platform-dependent according to documentation. "Array To Spreadsheet String Function" obviously is platform-dependent as EOL is different on PC and cRIO. What can I expect from other string functions on cRIO?
The suggested workaround of using search and replace throughout the code to handle this is not very satisfying, although it works.
NI, please document what the EOL-character(s) should be on cRIO. Then I can know when I need to add search&replace-workarounds, and when I don't.
Svein
PS: Last year I made my own "End of Line Constant" that defaults to CR/LF on Windows and LF on cRIO. But I don't know if this is "right" and if it will work correctly in future versions of Labview.