12-18-2015 09:09 AM
Hi
I need a control which indicate the value range need to within 2 ~ 5V for example. I need
one (or two) controls to indicate it either out of upper bound or low bound, which controls
shall I use? (And I don't need display the real value is, only knows it's OK or fault(out of bound)).
(I'm using CVI 2015).
Thanks
Solved! Go to Solution.
12-18-2015 09:21 AM - edited 12-18-2015 09:23 AM
Hi,
I am not sure that I correctly understood your problem, but did you consider setting the control, e.g. a numeric control, to 'Range Checking = Notify'?
12-18-2015 09:24 AM
I need show the voltage is either out of upper/low bound or normal, like a warning light.
12-18-2015 09:42 AM
This is what this setting does - if the value is inside the minimum/maximum values, it is just a normal control, if the value is outside of the specified range, an 'out-of-range' box appears.
Another possibility is adding two LED controls, you can make them match the size of your numeric control, your numeric control callback reads the value, compares it to the permitted boundaries, and sets a LED on or off. Something similar to the picture below. Instead of off you can also change the color of the LED, say to green....
12-18-2015 10:37 AM
Thanks for the recommandation, since I won't know the exact value is, two LEDs probably good enough.
And do you know there is up/down arrow can be used for LED control? I only see round and square shape
for the LED.
Thanks
12-18-2015 03:46 PM
you can resize the LED and change both their height and width...
12-21-2015 06:45 AM
I'm going to use LED with round shape. Thanks