How to Programmatically Get or Set Custom Conditional Disable Symbols

Updated Feb 27, 2019

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 string
  • To Set custom symbols within a project the same process is followed using the Set Tag invoke node.

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful