From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-14-2010 02:51 AM
I am trying to write a configuration file to be used by other (non-labview) software.
However the LabVIEW 2009 'write sting key' function adds quotes around string keys, even if the 'raw string' mode is used, this makes this tool USELESS, and I could only finde a little note in the online help
When VIs write to a configuration file, they place quotation marks around any string or path data. LabVIEW also supports single quotes around values in .ini files.
I could not find it in the Upgrade notes.
Could we get an option to remove the quotes?
Ton
06-15-2010 06:31 AM
Dear Ton,
thank you so much for your post. This problem was brought to the attention from our R&D department, hopefully they will add this soon to the writekey.vi . There is a work arroud for now; you can add the attached VI to the library;
Hopefully this will bring you further,
Best regards,
07-08-2010 03:29 PM
This was reported to R&D (CAR # 204992) for further investigation.
02-13-2013 01:50 PM
As of LV2011SP1, this issue has not been fixed yet. The workaround works fine though. Thank you very much for posting this.
However, a minor issue is that after copying the file into the specified location and restarting LabVIEW, the added vi does not show up in the File I/O >> Configuration File VIs menu.
02-19-2013 02:25 AM
Hello pbuerki,
It is possible to edit the Palette as you want --> http://zone.ni.com/reference/en-XX/help/371361F-01/lvhowto/creating_and_editing_a_pal/
Hope this helps!
12-30-2014 08:10 PM - edited 12-30-2014 08:11 PM
Somehow this still hasn't been addressed. Please add a version of the Write String VI that doesn't add quotes OR change Add Key.vi to be public so that we can call it directly. Editing the LabVIEW IDE isn't really an option when there are multiple developers, VCS, and long life cycles. Thanks.
12-30-2014 09:38 PM - edited 12-30-2014 09:39 PM
fwiw, I've attached a drop in replacement for Write Key (String).vi that doesn't write quotes or escape characters to the file. I just tore out all of the privately scoped subVIs from Add Key.vi so there's one monolithic diagram with no library dependency.
12-30-2014 11:29 PM
@LabBEAN wrote:
Please add a version of the Write String VI that doesn't add quotes OR change Add Key.vi to be public so that we can call it directly.
You may have to file a Feature request in the LV IDea Exchange, so that this gets more visibility to NI R&D.
06-02-2017 08:35 AM
I had the same issue, MATLAB does not like the quotes. A right click option on the write VI would be nice.
04-16-2021 07:32 AM
in LabVIEW 2020 this is still not added, so I'v added a post to the idea exchange.