04-12-2007 08:12 AM - edited 04-12-2007 08:12 AM
Message Edited by Oli_Wachno on 04-12-2007 03:13 PM
04-13-2007 04:13 AM
Unfortunately there is no other way to access the symbols via VI server. It is not possible to edit these symbols at runtime in general, which would not make sense, because these symbols are ment to give the user the opportunity to do conditional compiling, and so the state of these symbols needs to be set BEFORE the VI is compiled/started.
You could accress the value of these symbols, by reading the .lvproj File directly. The .lvproj files are XML-Files, and there is a item called
<Property Name="CCSymbols" Type="Str"> .XXX.</Property> in the XML File. The XXX stands for the name and value of a symbol.
You could use File I/O functions to access these values.
Hope this helps!
André
04-13-2007 07:26 AM
Thanks a lot André,
but still I hope that one day, there will be a more convenient way of having read access to these symbols.
Cheers
Oli
11-21-2013 10:08 AM
see more convenient read access for Conditional Disable Symbols in LabVIEW in this thread: Programmatic read access to project symbols