Tried with Numofchanges but it also includes the count when valve changes from 1 to 0..
The valve usually remains closed and opens few times in a month.
Tried with Numofchanges but it also includes the count when valve changes from 1 to 0..
The valve usually remains closed and opens few times in a month.
Create an analysis to monitor the valve:
if BadVal('Valve') then
NoOutput()
else if 'Valve' = 1 and PrevVal('Valve') = 0 then
total('ValveCounter',1)
else
noOutput()
The output is sent to the 'ValveCounter' attribute.
The analysis can be event triggered on 'Valve'
Create an analysis to monitor the valve:
if BadVal('Valve') then
NoOutput()
else if 'Valve' = 1 and PrevVal('Valve') = 0 then
total('ValveCounter',1)
else
noOutput()
The output is sent to the 'ValveCounter' attribute.
The analysis can be event triggered on 'Valve'
Thankyou for your reply.
How can we give window for each month that it tells number of times it opened in a month?