How to Programmatically Get or Set Custom Conditional Disable Symbols

Updated Nov 20, 2023

Reported In

Software

  • LabVIEW

Issue Details

How do you programmatically get or set custom Conditional Disable Symbols?

 

Solution

  • The Get Tag invoke node can be used to access the custom symbols within a project, this will return the Condition Symbols as a variant which can then be converted to a stringget_target.png
  • To set custom symbols within a project the same process is followed using the Set Tag invoke node.set_target.png

Additional Information

This example adds a symbol to the root project, if you'd like the symbol to be added to 'My Computer' or to a specific Target within the project the value of the property node can be changed to suit this.
Once you add a custom conditional disable symbol a CCSymbols property is automatically added to the chosen target.