Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Thermometer in an array changes width with changes in value decades

Solved!
Go to solution
Highlighted

I am using LabView 2019 full development software to create my Vi. On my front page I, have created 3 arrays of Thermometers. first 2 contain 20 thermometers with the 3rd containing only 10. Now I might have done this wrong, but I have put text strip across the tops of the thermometers containing labels of the number of the below thermometers.

 

Here is the problem, These arrays will be used for both J type and K type Thermocouple inputs. When using the J type, I want to scale from 0 to 500 F, and while using the K type would like to scale from 100 to 2000 degrees F. A I have set up Property Nodes to make these changes. But by changing the scale value the width of the thermometer changes. Thus the text labels no longer are over the top of the correct thermometers. More so for the thermometers at the ends.

 

Is there any way to fix the width to the widest decade such as the 0 to 2000 and maintain that width for the smallest decade 0 to 100?

 

Thanks

Paul

0 Kudos
Message 1 of 5
(142 Views)
Highlighted
Solution
Accepted by PaulVog

Hello Paul,

 

Use clusters instead of arrays and you will be able to name them individually and place them any way you want, they wont move, if you place them too close their scale will overlap when it changes from 100 to 2000.

 

Which indicator are you using, if you don´t want to change to clusters try with silver thermometer.

Message 2 of 5
(107 Views)
Highlighted

Hi ,

Thanks for your suggestion. Its been a few years since last time I worked with LabView (think 7.1 - 8.5). I was working with the Thermometer indicator from the numeric Palette

What is this silver Thermometer? Sounds like one of those new features since my hey days with LabView.

 

again thanks

 

Paul.

0 Kudos
Message 3 of 5
(90 Views)

Hello Paul,

 

Thats a big jump from 8.5 to 2019, anyway, "Silver" is also a palette that has some good controls and indicators, but with LabVIEW NXG everything is going to flat controls and indicators.

 

Just right click on an empty space of the front panel and scroll down you'll find first "NXG style" then "Silver" palettes inside you have the numeric palette but with silver style.

 

Silver style Thermometer has a background frame so when you change the scale from 100 to 2000 it doesn´t grows.

 

Saludos.

0 Kudos
Message 4 of 5
(61 Views)
Highlighted

Did a quick look and it looks promising. Will have to build up a front panel and see how it looks. Thanks again for this very helpful bit of programming knowledge. It will become fastly one of my favorite programming tricks.

 

Regards

Paul

0 Kudos
Message 5 of 5
(44 Views)