How Can I Change My Front Panel Color Programmatically in LabVIEW ?

Updated Jul 26, 2019

Reported In

Software

  • LabVIEW

Issue Details

How I am going to change my Front Panel color programmatically in LabVIEW ?

Solution

You can do this by using the Property Node function in the LabVIEW. To do this, complete the following steps base the picture below :
Create the property node for VI, Panel and Pane :
  1. Create and right click on property node, go to Select Class >VI Server > VI > VI. Then, click on the VI property node and select Front Panel.
  2. Create and right click on property node, go to Select Class >VI Server > Generic > GObject > Panel. Then, click on the Panel property node and select Panes[].
  3. Create and right click on property node, go to Select Class >VI Server > Generic > GObject > Pane. Then, click on the Pane property node and select Pane Color.