날짜:
06-14-2010
02:51 AM
- 마지막 편집 날짜:
05-09-2025
10:36 AM
, 작성자:
Content Cleaner
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,
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
- 마지막 편집 날짜:
05-09-2025
10:35 AM
, 작성자:
Content Cleaner
Hello pbuerki,
It is possible to edit the Palette as you want --> https://www.ni.com/docs/en-US/bundle/labview/page/editing-a-palette-set.html
Hope this helps!
12-30-2014 08:10 PM - 편집 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 - 편집 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.
in LabVIEW 2020 this is still not added, so I'v added a post to the idea exchange.