04-22-2013 01:25 AM
Hi, this is Lee.
I want to change my real time target IP address programatically, So I edit ni-rt.ini and reboot.
It looks like works well.....but I don't know it's "really" works well.
Look at the attachement....If I change IP_address using ini file edit VI's, then ni-rt.ini file messed up. I mean, If I look at the file with word pad, it looks fine but if I look at the file with note pad it's mess.
And also there are quatation mark added.
My question is that, Can I edit ni-rt.ini with ini edit VI's? It looks like change the whole contents, but still works fine?
Solved! Go to Solution.
04-22-2013 03:13 AM
You should add info on the functions you are using for modification of the file.
The strange symbols in the notepad are the "new line" characters, which obviously are not displayed correctly in notepad. What happens if you open the modified file with word/wordpad? Does it look strange as well?
Norbert
04-22-2013 03:25 AM
As you said, it looks very well at word pad......but anyway, it doesn't works well. If I edit ni-rt.ini using ini edit VI, it crash with NI MAX.
I just workaround not to use ini edit VI and now it works fine.
thanks you.
04-22-2013 03:31 AM
What version of LV are you using?
I know that specific LV versions altered the setup of ini files when using the configuration file functions. This could explain your situation.
Norbert
04-22-2013 03:32 AM
I'm using 2012.