RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
397
Delayed Short
List Command
save_and_restart_timer
Function stores the current value of the RTC
®
5 timer and resets it to zero
Call
save_and_restart_timer()
Comments • The stored timer value can be read by the get_time command.
• The command is useful for measuring the marking time of a marking process.
• The timer only counts list-command clock cycles. The counter is paused during an inter-
ruption via set_wait or pause_list.
•To compare RTC
®
5-internal save_and_restart_timer time measurements to external
time measurements via the BUSY pin, you should insert a list_nop between
save_and_restart_timer and set_end_of_list. This ensures that any scanner delay will
complete before set_end_of_list. Without list_nop, save_and_restart_timer includes
the scanner delay in its measurement even though it completes only after
set_end_of_list (and therefore the BUSY pin is already low).
RTC
®
4
RTC
®
5 unchanged
References get_time