03-17-2011 06:52 AM
upgrading from 8.61 to 2010 labview write string adds white spaces to both sides of the = sign insted of Key=Value in LV8.61, 2010 write Key = Value
03-17-2011 07:38 AM
03-17-2011 08:48 AM
If it is a problem, then that implies you're trying to parse the file manually instead of using the configuration VIs. Is this what you are doing?
It should also be noted that the INI file format is not well defined, so having spaces around the equal sign is not, in and of itself, "wrong".
03-17-2011 09:44 AM
its a problem for me as when this code was written LV did not have these methods and my legacy code worked in LV8.6, but now reqires re-writing after updating to LV 2010
03-17-2011 09:56 AM
@321 wrote:
its a problem for me as when this code was written LV did not have these methods and my legacy code worked in LV8.6, but now reqires re-writing after updating to LV 2010
I don't understand what you are referring to. The Configuration File VIs have existed for a long time, well before 8.6.
03-17-2011 10:03 AM
Legacy code in LV4 the point is it worked before the white spaces were added
03-17-2011 11:07 AM
So are you saying that you're trying to read a config file that was written with LabVIEW 2010 with code that was written in LabVIEW 4?
If so, then you need to fix the LabVIEW 4 software, not change LabVIEW 2010, since it's not really doing anything wrong. The same exact thing would happen if the config file was written by another program that just happened to put spaces around the equal sign, or the file was edited manually by someone who likes spaces around the equal sign.
If that's not what you're doing, then please explain the specific issue because I don't get it then.