10-23-2006 10:09 AM
I'd like to solicit opinions and ideas on a LabVIEW technical issue. The objective is to have a subvi detect when it receives an out of range value on an input that is an enumerated type control. Of course one way is to change the enumerated type so that the first and last items are named Underrange and Overrange, and handle these cases. But I am looking for a way to do it without adding items to the enumerated type. The attached LLB illustrates what I am trying to do. If the Numeric input on the top level VI is set to a value of 22, the subVI runs with a value of 16. Note that the subVI has a property for Out of Range Action that is set to Ignore, but the value is still coerced.
The LLB is in LabVIEW 7.1. In LabVIEW 8.2 the behavior is different. There is apparently a bug in LabVIEW 8.2 that allows the Number of Items to change if an overrange value is input.
Allen
10-23-2006 11:17 AM
10-23-2006 12:00 PM
10-23-2006 12:26 PM