Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (T-V)
Guardian Procedure Calls Reference Manual—522629-013
15-10
TIMER_STOP_ Procedure (H-Series RVUs Only)
timeoutValue or TOV input
long long
a value greater than zero that specifies the time period (in microseconds) after
which a timeout message should be queued on $RECIEVE. One second equals
1,000,000 microseconds.
param1 or PARAM1 input
UINT64
is part of the timeout message read from $RECEIVE
param2 or PARAM2 input
UINT64
is part of the timeout message read from $RECEIVE
TLEid or TLEID input
*INT32
the identifier associated with the timer.
TLEid should only be used to call the
TIMER_STOP_ procedure.
Considerations
•
Param1 is delivered to the user process in the SIGNAL TIMEOUT message as an
INT(16); it is truncated. Param2 is delivered in the SIGNALTIMEOUT message as
an INT(32); it is also truncated.
Example
An example of how to set a 60 second timer is:
INT(32) TLEID;
ERR := TIMER_START_(60000000F, 10F, 32F, TLEID);
IF ERR THEN -- Timer was not started
TIMER_STOP_ Procedure (H-Series RVUs
Only)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters