LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

automatically changing min and max values in a colour ramp while the VI is running

Hello,

I am relatively new to LabVIEW and have the following question.

I am using a colour ramp within a VI to show a colour dependent on a value I am measuring against defined minimum and maximum values. However I need these minimum and maximum values to change automatically based on other calculations within the VI whilst it is running.

Does anyone know how to wire in these three inputs (minimum, maximum and current value) into a colour ramp? From what I can see it is only possible to wire in the current value and define the minimum and maximum values by directly editing onto the front panel during use.

Any help on the matter would be greatly appreciated.

With thanks
0 Kudos
Message 1 of 3
(2,437 Views)
This is done using a property node. Right-click on the control and select create -> property node. A property ndoe will pop up on the diagramme. Click on the property node and you can select what property to read or write. You can expand the node to include multiple property terminals. You'll find the properties you'll need in the sub-menu of the scale property.
Message 2 of 3
(2,437 Views)
Many thanks - this has worked a treat!
0 Kudos
Message 3 of 3
(2,437 Views)