14 timer controls – Rice Lake iRite IDE User Manual
Page 77

920i
Programming Reference - API Reference
73
SysCode values returned:
SysNoSuchDatabase
The referenced database cannot be found.
SysNoSuchRecord
The requested record is not contained in the database.
SysOK
The function completed successfully.
Sorts database
of 30 000 elements. Databases with more than 30 000 records cannot be sorted.
Method Signature:
function
SysCode values returned:
SysNoSuchDatabase
The referenced database cannot be found.
SysNoSuchRecord
The requested record is not contained in the database.
SysOK
The function completed successfully.
Updates the current record in the referenced database with the contents of
any previous sort operation.
Method Signature:
function
SysCode values returned:
SysNoSuchDatabase
The referenced database cannot be found.
SysNoSuchRecord
The requested record is not contained in the database.
SysOK
The function completed successfully.
5.14 Timer Controls
Thirty-two timers, configurable as either continuous and one-shot timers, can be used to generate events at some
time in the future. The shortest interval for which a timer can be set is 10 ms.
ResetTimer
Resets the value of timer T (1–32) by stopping the timer, setting the timer mode to TimerOneShot, and setting the
timer time-out to 1.
Parameters:
[in]
T
Timer number
Method Signature:
function ResetTimer (T : Integer) : Syscode;
SysCode values returned:
SysInvalidTimer
The timer specified by
T
a not valid timer.
SysOK
The function completed successfully.
ResumeTimer
Restarts a stopped timer T (1–32) from its stopped value.
Method Signature:
function ResumeTimer (T : Integer) : Syscode;
Parameters:
[in]
T
Timer number
SysCode values returned:
SysInvalidTimer
The timer specified by
T
a not valid timer.
SysOK
The function completed successfully.