Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use neutralzone object with alarm object?

I need to monitor a tank level for alarm conditions.  I have created an alarm object so the user can specify values for the lolo, lo, hi, and hihi.  This works fine, except if the tank level hovers around an alarm level setting, too many alarm records are generated.  The Lookout Help page for the alarm object says to use a neutralzone object to filter out the minor fluctuations, but I can't find any details on how.  So how do I do this?  Can I use one alarm object with one neutralzone object for the four alarm settings, or one alarm object with four neutralzone objects, or four alarm and neutralzone object pairs?  How do I connect them?

 

Many thanks,

Ken

0 Kudos
Message 1 of 4
(6,366 Views)

I've tried a few things, but the only thing that works is creating 4 alarm-neutralzone pairs, one for each alarm setting (lolo, lo, hi, hihi).  I use the user specified alarm setting values for the neutralzone low & high values.  Then for an alarm object, use the neutralzone as the signal, and set it as a logical alarm.  Is there a more elegant solution?

 

Thanks,

Ken

0 Kudos
Message 2 of 4
(6,356 Views)

Another way is to use the round(x,y) function.

 

For example, round(pot1, 0) will round the pot1 value to integer. round(pot1, 0) will be 50 when the pot1 is between 49.5 and 50.4.

 

 

Ryan Shi
National Instruments
0 Kudos
Message 3 of 4
(6,348 Views)

Another method would be to add a delay before alarming using a DelayOn timer.  

 

Ryan's suggestion would work, but if the process requires decimal precision you cannot use that method.

 

Mike 

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 4 of 4
(6,289 Views)