LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change background color (programmatically) temporarily - best practice

Have a look at the attached image...I'm attempting to temporarily change the UI panel color to red temporarily if the user selects a bad value.  I'm not including anything but the color changing aspect of it.  Anyway, what I've got working so far is a flat sequence with a wait timer in the first sequence, which changes the screen red for 1 second.  The last sequence changes the color back to gray. Is this the best way of doing this? -Mike

 

Function2-bd.png

0 Kudos
Message 1 of 2
(2,632 Views)

KSU Flyer wrote:

Have a look at the attached image...I'm attempting to temporarily change the UI panel color to red temporarily if the user selects a bad value.  I'm not including anything but the color changing aspect of it.  Anyway, what I've got working so far is a flat sequence with a wait timer in the first sequence, which changes the screen red for 1 second.  The last sequence changes the color back to gray. Is this the best way of doing this? -Mike

 

Function2-bd.png


 

 

 

 

 

 

 

 

 

 

 

 

 

 

The second frame of the seq structure is not required since data dependancies prevent it from running until after the firs is done but aside from that minor point that looks fine.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 2
(2,614 Views)