Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference3700AS-901-01 Rev. D/June 2018 11-21Examplereset()testData = dmm.makebuffer(1000)testData.collectchannels = 1dmm.nplc = 0.5dmm.range = 0dmm.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)This example creates a reading buffer namedtestData, configures the buffer to collectchannel data, sets and saves the DMMconfiguration, creates a scan list, and thenruns the scan.The print() command then outputs the firstmeasurement channel.Output:2035+The printbuffer() command then outputsthe channels for measurements 1 to 6 in thereading buffer.Output:2035+, 2036+, 2037+, 2038+, 2039+,2040+Also seebufferVar.clear() (on page 11-21)bufferVar.collectchannels (on page 11-23)Reading buffers (on page 6-7, on page 6-1)bufferVar.clear()This function empties the buffer.Type TSP-Link accessible Affected by Where saved Default valueFunction YesUsagebufferVar.clear()bufferVar The reading bufferDetailsThis function clears all readings and statistics from the specified buffer (for example, time, status,channels, and units) from the specified buffer.