Buffervar.collectchannels - 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

bufferVar.collectchannels

This attribute sets the storage state of channel information with the readings in the buffer.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
state = bufferVar.collectchannels
bufferVar.collectchannels = state
state
bufferVar
Details
Assigning a value to this attribute enables or disables the storage of channel information, which
includes channel, backplane relay, or channel pattern information associated with the reading.
Reading this attribute returns the state of channel information collection.
When on, channel information is stored with readings in the buffer. This requires eight extra bytes of
storage per reading.
This value, off (0) or on (1), can only be changed when the buffer is empty. Empty the buffer using
the bufferVar.clear() function.
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.channels
Reading buffers
3700AS-901-01 Rev. D/June 2018
Affected by
Instrument reset
Recall setup
The reading buffer collect channels mode; set to one of the following:
0: Collect channels mode disabled (off); channel information is not stored in
the reading buffer
1: Collect channels mode enabled (on); channel information is stored in the
reading buffer
The reading buffer
(on page 11-21)
(on page 11-20)
(on page 6-7, on page 6-1)
Section 11: TSP command reference
Where saved
Default value
Create configuration script
1 (enabled)
Save setup
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+
11-23

Advertisement

Table of Contents
loading

Table of Contents