LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2012 behavior with data entry limits set to ignore

I am using LabVIEW 2012.  I have some numeric controls that I need to control the allowed values of.  I need LabVIEW to ignore nonallowed values (coercion does not fit my particular need).  When I set the control to a nonallowed value I was expecting upon hitting return that LabVIEW would throw away the nonallowed setting and instead revert to the initial value or the default value.  However LabVIEW seems to accept the nonallowed value if I type it in.  The constraint only seems to be enforced when I use the increment/decrement values.  If I use coerce the rule is enforced when typing the number.  I seem to remember being able to get the desired behavior using ignore in the past but perhaps my memory is faulty.   I have seen several postings for a similar problem for LabVIEW 8.6 that seemed to be corrected in 8.6.1.  If I have to I can use a text ring to restict the allowed values.  However I would like to find out if I am remembering correctly, and if so, if there is some nuance I am missing.

0 Kudos
Message 1 of 2
(2,315 Views)

I'd say your memory is faulty.  It sounds like it is doing exactly what it is supposed to: Ignore going out of this range's limit.  Another option for you is to use an event structure to catch the value change event and revert back if you typed in an out of range value.  Of course, that only works when the program is running.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,311 Views)