User manual
Section 13: Instrument Control Library (ICL)  Series 3700 System Switch/Multimeter Reference Manual 
13-146  3700S-901-01 Rev. C / July 2008 
dmm.makebuffer() 
Details 
Once a buffer is created, the attributes are: 
  mybuffer.appendmode = 1 (ON) or 0 (OFF) – default 0 over a bus interface, 
but 1 for ones created on the front panel 
  mybuffer.basetimeseconds returns the seconds for reading buffer entry 1 
(read-only attribute). 
  mybuffer.basetimefractional returns the seconds and fractional 
seconds for reading buffer entry 1 (read-only attribute). 
  mybuffer.capacity for overall buffer size 
  mybuffer.collecttimestamps = 1(ON) or 0(OFF) – default 1 
  mybuffer.collectchannels = 1(ON) or 0(OFF) – default 1 
  mybuffer.n for number of readings stored in buffer currently 
  mybuffer.timestampresolution returns the resolution of the time 
stamping (read-only attribute). 
The following buffer bits indicate buffer statuses: 
dmm.buffer.LIMIT1_LOW_BIT or 1 
dmm.buffer.LIMIT1_HIGH_BIT or 2 
dmm.buffer.LIMIT2_LOW_BIT or 4 
dmm.buffer.LIMIT2_HIGH_BIT or 8 
dmm.buffer.MEAS_OVERFLOW_BIT or 64 
dmm.buffer.MEAS_CONNECT_QUESTION_BIT or 128 
Details, 
continued 
To see readings in buffer: 
printbuffer(x, y, mybuffer)  
x and y: represent reading numbers desired 
To see readings, channels, and units: 
printbuffer(x, y, mybuffer, mybuffer.channels, 
mybuffer.units) 
x and y: represent reading numbers desired 
To see time stamps in buffer: 
mybuffer.collecttimestamps = 1 
print(x, y, mybuffer, mybuffer.timestamps) 
x and y: represent readings and time stamps for elements x to y 
To see seconds, fractional seconds, and relative time stamps, 
mybuffer.collecttimestamps = 1 
printbuffer(x,y, mybuffer.seconds) 
printbuffer(x,y, mybuffer.fractionalseconds) 
printbuffer(x,y, mybuffer.relativetimestamps) 










