LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Alarm system

Hi
 
I need help to manage the alarm system of a process...I explain better:
I have 60 alarms to manage, These 60 variable have 2 states 0 or 1, I need to display just the variable alarm that is in state 1, in a list box.
How can I develop the VI in an optimized manner, without uselessness iteration?
Someone can give me the direction?
 
Thanks.
0 Kudos
Message 1 of 3
(3,813 Views)

Hi nezo78,

here is an example, how you can get the index ot the sensors with state "1".

Mike



Message Edited by MikeS81 on 06-06-2008 02:14 PM
0 Kudos
Message 2 of 3
(3,811 Views)
How to do it without a loop:




Note: This is purely for demonstration. I make no claims as to its efficiency in terms of speed and/or memory.


Message Edited by smercurio_fc on 06-06-2008 09:36 AM
Message 3 of 3
(3,786 Views)