This is a LabVIEW/RT issue that I have yet to figure out... I have a cRIO that is using a standard .ini configuration file, and it updates that file when certain parameters change (to be used during intialization if it is rebooted later). The file is updated with the necessary changes, but for some reason, it loses all of the carriage return formatting, and ends up all on one line. The functions it is using for read/write are actually the exact same functions I use on the desktop host program, and the issue does not occur there, so it must be an inherent issue with how the cRIO processes configuration files... Or perhaps an issue with how the files are transferred from the processor?
Anyone else run into this? Any causes and/or solutions? If it stays like this, it may be the final push for me to completely rewrite my configuration code to use XML format in the long run, but I really need a solution in the short term here to make these files more easily readable for troubleshooting.