LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically Change Meter Colors and Range

Solved!
Go to solution

Please see attached pictures for reference. 

I am currently designing a LabVIEW system that will allow the operator to calibrate DUTs until they are within specified limits.  The system is being designed for multiple part numbers w/ multiple acceptable limits per part number.   The operator will need to adjust each unit until the meter's needle is within the "acceptable limit".  For example, Product A will be a less accurate device so its acceptable limit will be wider.  Product B however is a premium device with tighter tolerances. 

I need the meters to update their displays based on the specified limits.  The tricolor method is just a way for the operator to know when they are getting close.  I've attached a picture of what I am trying to accomplish. 

Another way I may want to do this is to have teh entire meter be a solid color.  The arrow would still remain.  I may want this to be like a stop light in that the entire meter would be red if the needle (value) is way out, then when it gets closer, the entire meter turns yellow, then when it is acceptable, the entire meter turns green.  How can this be done?  Can it be done?

 

 

0 Kudos
Message 1 of 6
(3,732 Views)

Hi apatel,

 

use property nodes of your indicators…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 6
(3,718 Views)

I hope, it's good.

Download All
Message 3 of 6
(3,678 Views)

Hi Peto,

 

nice example!

To mimic the OP's image I would switch off the "color blending" with an additional property…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(3,669 Views)
Solution
Accepted by topic author apatel225

Hi GerdW,

 

Thank's for your advice. I changed the code using your suggestion.

 

I hope, It's helpful.

 

Best regards,

Pető

Download All
Message 5 of 6
(3,644 Views)

Thank you!!

0 Kudos
Message 6 of 6
(3,614 Views)