__header__
Description
Input is a counter. The Event Counter counter is on for the On Counts and
off for Off counts. The time to count the on an off counts is also determined
Parameters
Time
returns the time taken to count the on and off counts
Count
The input count value
OnCount
OffCount
Set to trigger when the event counter is on or off
NOTE id ONCount = 1 and OFFCount = 0 then this is
Evetn Counter is on for 1 read (not 1 scan)
hence Aux = Aux OR EventCount
this will latch the single read in this case
Current
The curent count value
__footer__