03-12-2008 05:45 AM
03-12-2008 06:02 AM - edited 03-12-2008 06:04 AM
The false case occurs.![]()
Just that when a false condition occurs, you are writing a false boolean value to the false indicator( in the false case). Hence the 'Not OK' LED does not glow
And you are not resetting the True case indicator to false (so the 'OK' LED remains 'ON' once it goes on)
Look at modifications in attached VI
03-12-2008 06:09 AM
An Additional information.
Since you seem to be comparing floating numbers, read this link and proceed as suggested
03-12-2008 06:11 AM
03-12-2008 10:00 PM - edited 03-12-2008 10:01 PM
Simpler still, you don't need the case structure since the 2 cases have essentially identical code.

03-13-2008 01:01 AM
I had a hunch that I was overlooking some simpler solution ![]()
Good one, Ravens ![]()
03-13-2008 01:13 AM
03-13-2008 01:46 AM
Even simpler: delete the "NOT OK" indicator and color the FALSE state of the OK indicator RED. Since you only have 2 possible states, it seems a waste to use two indicators. One LED is enough to handle all possibilities. 😉
Ravens Fan wrote:
Simpler still, you don't need the case structure since the 2 cases have essentially identical code.
03-13-2008 01:52 AM
Oh,
that LLB was written in LabVIEW 5.0
And those vi's cannot be opened in LabVIEW 8.5
I have put a note to the author of the KB Article, to update theLLB to a more compatible version
Meanwhile, here is the same LLB in LabVIEW 8.0
Sorry for the inconvenience ![]()
03-13-2008 01:54 AM - edited 03-13-2008 01:55 AM