LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can i build an array of thermometers?

I want to display different temperature values read from a single file onto my thermometers which are scattered on the screen.how shall i proceed?
0 Kudos
Message 1 of 3
(2,917 Views)
Hi Arci,

you can use the array and put thermometers in it. You can then expand the array so you can see as many thermometers as you like. Make the colour of the array transparent and it will look nice. But they will not be scattered on the screen.
If your thermometer values are in an array and you use single thermometer indicators which are scattered on the screen you must use Index array to get the single elements.
If you would use clusters so you can deal with names and not with indices. You can position the elements within a cluster at every place you will. If you have other controls and indicators put it not into the cluster put it above it. Be sure to use the cluster from the classics palette because you can make the cluster frame transparent.


Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 3
(2,917 Views)
I am not sure what you would like help doing.

I will assume you can get you data from the file and suggest an elegant way of doing an array to array tranfer with out having to put all of the indicators in an array of the front panel.

When you VI first starts, build an array ONE TIME that consists of a reference to each of your thermometers. References for each of the indicators can be created by right-clcicking...

Build the array such that the refnums are in the same order as the data coming from your file.

Then,
you can use a For loop to pull one value and stuff it into one indicator by using a property node set for "value" and who's refnuminput comes from the auto-indexed arrayof refnums discussed earlier.

Using a technique similar to the above will allo
w you to update an unlimited number (within reason) of indicators with minimal digram realestate.

Not sure if this will help,

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