Series 2600 System SourceMeters Reference Manual Instrument Control Library 12-131
Return to Section 12 topics 2600S-901-01 Rev. A / May 2006
timer functions
The functions in this group are used for the timer. The timer can be used to measure the
time it takes to perform various operations. Use the
timer.reset function at the beginning of
an operation to reset the timer to zero, and then use the timer.measure.t at the end of the
operation to measure the elapsed time.
Function Measures the elapsed time since the timer was last reset.
Usage
time = timer.measure.t()
time Returns the elapsed time in seconds. (1µs resolution).
Remarks
• This function will return the elapsed time in seconds since the timer was reset.
• The returned resolution for time depends on how long it has been since the timer
was reset. It starts with 1µs resolution and starts to lose resolution after about 2.8
minutes.
Also see timer.reset
Example Resets the timer and then measures the time since the reset:
timer.reset()
...
time = timer.measure.t()
print(time)
Output: 1.469077e+01
The above output indicates that timer.measure.t was executed 14.69077 seconds
after
timer.reset.
Function Resets the timer to 0 seconds.
Usage
timer.reset()
Remarks This function will restart the timer at zero.
Also see timer.measure.t
Example Resets the timer and then measures the time since the reset:
timer.reset()
...
time = timer.measure.t()
print(time)
Output: 1.469077e+01
The above output indicates that timer.measure.t was executed 14.69077 seconds
after
timer.reset.
timer.measure.t
timer.reset