Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-38
DMM7510-901-01 Rev. B / May 2015
Example
reset()
testData = buffer.make(50)
trigger.model.load("SimpleLoop", 2, 0, testData)
trigger.model.initiate()
waitcomplete()
printbuffer(1, 2, testData.statuses)
Create a reading buffer named
testData
,
configure the instrument to make two
measurements, and store the readings in
the buffer.
Print the status for the readings in
testData
.
Output:
64, 64
Indicating that the status is
buffer.STAT_LIMIT1_LOW
.
Also see
(on page 8-18)
(on page 8-16)
(on page 8-24)
(on page 8-231)
(on page 8-232)
(on page 3-13)
(on page 3-30)
bufferVar.times
This attribute contains the time when the instrument made the reading.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Restore configuration
Instrument reset
Power cycle
Not applicable
Not applicable
Usage
readingTime
=
bufferVar
.times[
N
]
readingTime
The time of the reading in hours, minutes, and seconds
bufferVar
The name of the reading buffer, which may be a default buffer (
defbuffer1
or
defbuffer2
) or a user-defined buffer
N
The reading number
N
; can be any value from 1 to the number of readings in the
buffer; use the
bufferVar.
n
command to determine the number of readings in the
buffer