05-06-2015 09:42 AM - edited 05-06-2015 09:58 AM
I am developing a program that Uses the NIMax export featue to create an .INI file, that I then manipulate and re-import back into NIMax.
The problem I have come across is when I export from MAX and create the .INI file the carriage returns are included as /x0d, but when I import the string is imported exactly as it looks and does not convert it back. I created a simple program to make sure that nothing in my program was causing the issue. (See Below).
I have also looked for work arounds in my program, but have not found anything. Is there a way to work around this or change the export/import system?
Michael
Test Program
Original Text in NIMax
Exported Text in *.INI File
Imported Text in NIMax
Solved! Go to Solution.
05-06-2015 10:03 AM
05-06-2015 01:37 PM
Ouch, thanks.
This is going to be a hard one to work around since my entire program is centered around using Configuration File VIs to manipulate the *.INI
I guess I'll have to try to come up with some code to at least remove the carraige returns and types back in a single line.
I did run this program with .txt and .nce. These both import properly but are not as easy to manipulate.
-Michael
02-25-2017 05:45 AM
Escaping the return characters (and quotes, which are also escaped) makes perfect sense, as that is part of INI format, but failing to reverse the process to recover the original text when importing is a bug.