Programmatically Change Color of LabVIEW Case Structure

Updated Oct 15, 2018

Reported In


  • LabVIEW

Issue Details

I would like to change the color of my case structure depending on the case programmatically. How would I do this?


You would need to use VI Scripting to change case structure values automatically. First, you would have to place a VI Reference to a Traverse for GObjects VI then connect it via property nodes to connect to color changing constants. The example attached shows how to implement this behavior.

Additional Information

None of the scripting properties will be accessible until you manually turn on the ability to see them. You can do this by navigating to Tools >> Options >> VI Server then checking the box "Show VI Scripting functions, properties and methods".


Not Helpful