LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set alarm and clear alarm in specific time

Hi in my project i have to set alarm when ever there is limit vilation and clear it when ther is no limit viloation.But the problem is i should not set alarm for every violation,ihave to check,in 10 sec if there are 3 violations then only i have to set alarm ,and this set alarm should occur where the first violation took place,and this should be wriiten in log file.

for example if iam measuring alarms, in 1-11(10) seconds,in 10 sec if i have only two alarms set and clears ,then no problem,again i have to check from 2-12(10)seconds,in this 10 sec if i have 3 or more alarm i have to set alarm,wher the first alarm set has occured i,e In 2-12 sec if there is alarm set at 3rd sec,6th sec and 10th sec then i have to set alarm at the 3rd sec and i have to clear alarm at 10th second.Again i have to check from 3-13 and so on.It seems to be complicated,but pls help me,iam attaching my VI:
0 Kudos
Message 1 of 3
(2,664 Views)
Here is a simple VI which monitors the number of alarms and the elapsed time. It does have some bugs but I think it will show an approach.

Lynn
0 Kudos
Message 2 of 3
(2,652 Views)
hi john,thanku very muchfor ur reply,but i could not understand it to full extent,can u explain little bit more.If u have any problem in understzanding my VI please ask me.

Thanking you
0 Kudos
Message 3 of 3
(2,649 Views)