08-08-2013 05:09 AM
I want to indicate if a numeric indicator value is out of limits, could someone give me suggestions or a link what common ways there are to show if a value is above an upper limit or below a lower limit.
Many thanks!
Solved! Go to Solution.
08-08-2013 05:14 AM - edited 08-08-2013 05:15 AM
yes in range and coerce
from the comparison palete
08-08-2013 05:24 AM
In Range and Coerce more checks on limits rather than indicates, I think if you want to indicate this it might take property nodes and setting things to blinking or changing colours for background texts (what we usually do when our motor positions when they're moving, in an error state, or whatever else we've set up). Otherwise, use in range and coerce to drive a Boolean indicator would be the best bet.
08-08-2013 06:55 AM - edited 08-08-2013 06:56 AM
Something like this, for example.
Edit - for those that don't read hex, that's (00)FF00 for in range, or green, and FF0000, or red, for out of range.
08-08-2013 08:05 AM
Thanks for your reply, in my case, I'd like to use a System numeric indicator and found out that the BG color can't be set for a System numeric indicator, text color however can be set for a System numeric indicator.
I don't mind using an extra indicator to show that the value is above the high limit or below the low limit but I would like to indicate the 2 specific "out of range" cases and I was wondering if there is a common way of showing this. It is a general question, not specific to Labview but that happens to be the programming language i am using.
Many thanks for your suggestions so far.
08-08-2013 08:17 AM
in that case use the smaler than and larger then operations.
08-08-2013 08:20 AM - edited 08-08-2013 08:21 AM
At least some of the Classic numeric indicators look (as far as I can tell) just like the System ones, but you can change their background color. IMHO, changing the background color is much more easily noticed than changing the text attributes.
Cameron
08-08-2013 08:50 AM
Maybe it is my wording or you can read a lot faster than that you can process information.
I want to know what a common way is to INDICATE both when a value is below a certain low limit and when a value is above a certain high limit. Both cases I want to be indicated in different ways, that is: Not change BG color to red in either of these cases.
08-08-2013 09:00 AM
I've given you a way of changing a property node based on a single comparison (in range and coerce) - you should be able to adapt from this and build a near-infinitely expandable set of properties to fit your needs.
For instance, here's a tristate comparison: in range = green (true case), not in range and over top limit = red, not in range and under top limit (i.e. under bottom limit) = blue.
08-08-2013 09:08 AM - edited 08-08-2013 09:09 AM
Hi **bleep**enhauser,
I think in each programming language you would use some constructs like
IF condition1 THEN output1 ELSE IF condition2 THEN output2 ELSE output3 ENDIF ENDIF
A different, but common construct looks like:
SELECT number CASE 0: xxx CASE 1: yyy CASE 2: zzz ...
Don't you think so?
Edit: I'm really sorry, but it seems the forum software doesn't like your nickname...