Buffervar.clear() - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Series 3700A System Switch/Multimeter Reference Manual
Example
reset()
testData = dmm.makebuffer(1000)
testData.collectchannels = 1
dmm.nplc = 0.5
dmm.range = 0
dmm.configure.set("Dcv_100mV")
dmm.setconfig("slot2", "Dcv_100mV")
scan.create("2035:2040")
scan.execute(testData)
print(testData.channels[1])
printbuffer(1, 6, testData.channels)
Also see

bufferVar.clear()

bufferVar.collectchannels
Reading buffers
bufferVar.clear()
This function empties the buffer.
Type
TSP-Link accessible
Function
Yes
Usage
bufferVar.clear()
bufferVar
Details
This function clears all readings and statistics from the specified buffer (for example, time, status,
channels, and units) from the specified buffer.
3700AS-901-01 Rev. D/June 2018
(on page 11-21)
(on page 11-23)
(on page 6-7, on page 6-1)
Affected by
The reading buffer
Section 11: TSP command reference
This example creates a reading buffer named
testData, configures the buffer to collect
channel data, sets and saves the DMM
configuration, creates a scan list, and then
runs the scan.
The print() command then outputs the first
measurement channel.
Output:
2035+
The printbuffer() command then outputs
the channels for measurements 1 to 6 in the
reading buffer.
Output:
2035+, 2036+, 2037+, 2038+, 2039+,
2040+
Where saved
Default value
11-21

Advertisement

Table of Contents
loading

Table of Contents