__header__

Description

A counter that persists the count.
Note: The value is stored in the Synapx Registry. To actually save the Synapx Registry at this point (ie the count) then a trick is to use the registry write step with some dummy value. Otherwise the Synapx Registry is saved on program exit

Note the state is ON when the next count will reset the value

Parameters

Current

ResetInterval

The Reset Interval is setable, and if the reset condition occues on startup then the reset number goes to zero (a fail condition). Otherwise the reset occurs on count ir when turned on

SysName

In the registry the name for persistance

[HardwareConfiguration]
[SysName]_Reset=226
[SysName]_Val=1
__footer__