Timer
 
Properties
Events
 

Properties

Count
Values:
-1, 0, > 0
Description:
Set or returns the number of times a timer event will be generated. If the Count property is greater than 0, the value will be decremented at every Timer event until the value reaches 0.
Count Description
-1 Unlimited Timer events
0 No Timer Events
> 0 Timer events until the value of the Count property is 0.
Interval
Values:
0-65535
Description:
The Interval in milliseconds between Timer events. 1000=one second.
Enabled
Values:
True|False
Description:
Starts or stops the Timer.
IdleTimeoutBattery
Values:
integer
Description:
Returns the amount of time in seconds that Windows CE will stay on with battery power before it suspends due to user inaction. (Read Only)
IdleTimeoutExternal
Values:
integer
Description:
Returns the amount of time in seconds that Windows CE will stay on with AC power before it suspends due to user inaction. (Read Only)
IdleTimeoutInterval
Values:
0-65535
Description:
Sets or returns the interval in milliseconds between resetting the system idle timer. 
IdleTimeoutResetEnabled
Values:
True|False
Description:
Sets or returns whether the S309Timer will reset the system idle timer. Resetting the system idle timer will cause the Windows CE or Pocket PC device to not suspend when there is no user input.
>Tag
Values:
variant
Description:
User defined.
Version
Values:
integer
Description:
Returns the version of the S309Timer. (I.E. 105) (Read Only)
VersionMajor
Values:
integer
Description:
Returns the major version of the S309Timer. (I.E. 1) (Read Only)
VersionMinor
Values:
integer
Description:
Returns the minor version of the S309Timer. (I.E. 5) (Read Only)

Events

Timer
args:
 
Description:
If Enabled=True and Interval>0, then the Timer event will be fired every Interval.