Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-197
To see readings, channels, and units:
printbuffer(
x
,
y
,
bufferVar
,
bufferVar
.channels,
bufferVar
.units)
Where
x
and
y
represent reading numbers to be returned.
To see timestamps that are in buffer:
bufferVar
.collecttimestamps = 1
print(x, y,
bufferVar
,
bufferVar
.timestamps)
Where
x
and
y
represent readings and timestamps for elements
x
to
y
.
To see seconds, fractional seconds, and relative timestamps:
bufferVar
.collecttimestamps = 1
printbuffer(x,y,
bufferVar
.seconds)
printbuffer(x,y,
bufferVar
.fractionalseconds)
printbuffer(x,y,
bufferVar
.relativetimestamps)
Once you create a reading buffer, using that buffer name for another buffer or variable causes
access to the original data to be lost.
Example 1
bufferVar = dmm.makebuffer(300)
Creates a user reading buffer named
b
ufferVar
with a capacity of 300.
Example 2
dmm.measurecount = 10
dmm.measure(bufferVar2)
printbuffer(1, bufferVar2.n, bufferVar2)
bufferVar2 = nil
Take ten measurements on the active
function and store them in the reading buffer
bufferVar2
.
View those ten readings.
Delete
bufferVar2
.
Sample output (actual output depends on
how the active function is configured and
what you are measuring):
1.13401, 1.13201,
1.13401,
1.13401,
1.13201,
1.13401,
1.13301,
1.13201,
1.13401,
1.13301
Also see
(on page 11-299)
(on page 11-313)
(on page 11-317)