Timer.cleartime(); Timer.gettime() - Keithley DMM7510 Reference Manual

7 1/2 digit graphical sampling multimeter
Hide thumbs Also See for DMM7510:
Table of Contents

Advertisement

Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual

timer.cleartime()

This function resets the timer to zero (0) seconds.
Type
TSP-Link accessible
Function
No
Usage
timer.cleartime()
Example
dataqueue.clear()
dataqueue.add(35)
timer.cleartime()
delay(0.5)
dt = timer.gettime()
print("Delay time was " .. dt)
print(dataqueue.next())
Also see

timer.gettime()

timer.gettime()
This function measures the elapsed time since the timer was last cleared.
Type
TSP-Link accessible
Function
No
Usage
time = timer.gettime()
time
Example
dataqueue.clear()
dataqueue.add(35)
timer.cleartime()
delay(0.5)
dt = timer.gettime()
print("Delay time was " .. dt)
print(dataqueue.next())
Also see
timer.cleartime()
DMM7510-901-01 Rev. B / May 2015
Affected by
(on page 8-253)
Affected by
The elapsed time in seconds (1 µs resolution)
(on page 8-253)
Section 8: TSP command reference
Where saved
Clear the data queue, add 35 to it, and then delay
0.5 seconds before reading it.
Output:
Delay time was 0.500099
35
Where saved
Clear the data queue, add 35 to it, and then delay
0.5 seconds before reading it.
Output:
Delay time was 0.500099
35
Default value
Default value
8-253

Advertisement

Table of Contents
loading

Table of Contents