Rice Lake iRite IDE User Manual
Page 52

48
920i
Programming Reference
SetTime
Sets the time in DT to the values specified by Hour, Minute, and Second.
Method Signature:
function SetTime (VAR DT : DateTime; VAR Hour : Integer; VAR Minute : Integer; VAR
Second : Integer) : SysCode;
Parameters:
[out]
DT
DateTime variable name
[in]
Hour
Hour
[in]
Minute
Minute
[in]
Second
Second
SysCode values returned:
SysInvalidRequest
Hour or minute entry not valid.
SysOK
The function completed successfully.
SetUID
Sets the unit identifier.
Note
Changes made to the UID using the SetUID function are lost when the indicator power is cycled. When
power is restored, the UID is reset to the value at the last SAVE/EXIT from configuration mode
.
Method Signature:
function SetUID (newid : String) : SysCode;
Parameters:
[in]
newid
Unit identifier
SysCode values returned:
SysOutOfRange
The unit identifier specified for
newid
is not in the allowed range. The UID is not
changed.
SysOK
The function completed successfully.
STick
Returns the number of system ticks, in 1/1200th of a second intervals, since the indicator was powered on (1200
= 1 second).
Method Signature:
function STick : Integer;
SuspendDisplay
Suspends the display.
Method Signature:
procedure SuspendDisplay;
SystemTime
Returns the current system date and time.
Method Signature:
function SystemTime : DateTime;
Time$
Returns a string representing the system time contained in DT.
Method Signature:
function Time$ (DT : DateTime) : String;
UnlockKey
Enables the specified front panel key. Possible values are: ZeroKey, GrossNetKey, TareKey, UnitsKey, PrintKey,
Soft1Key, Soft2Key, Soft3Key, Soft4Key, Soft5Key, NavUpKey, NavRightKey, NavDownKey, NavLeftKey,
EnterKey, N1Key, N2Key, N3Key, N4Key, N5Key, N6Key, N7Key, N8Key, N9Key, N0Key, DecpntKey,
ClearKey.