
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2450-901-01 Rev. B/September 2013
8-165
timer.cleartime()
This function resets the timer to zero (0) seconds.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
timer.cleartime()
Example
timer.cleartime()
delay(3)
print(timer.gettime())
Also see
(on page 8-165)
timer.gettime()
This function measures the elapsed time since the timer was last cleared.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
time
= timer.gettime()
time
The elapsed time in seconds (1
µ
s resolution)
Example 1
timer.cleartime()
delay(3)
print(timer.gettime())
Also see
(on page 8-165)