
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-99
dmm.makebuffer
Details
(continued)
To see readings in buffer:
printbuffer(x, y, mybuffer)
x and y: represent reading numbers desired
To see readings, channels, and functions:
printbuffer(x, y, mybuffer, mybuffer.channels, mybuffer.units)
x and y: represent reading numbers desired
To see timestamps in buffer:
mybuffer.collecttimestamps = 1
print(x, y, mybuffer, mybuffer.timestamps)
x and y: represent readings and timestamps for elements x to y
To see seconds, nanoseconds, and relativetimestamps,
mybuffer.collecttimestamps = 1
printbuffer(x,y, mybuffer.seconds)
printbuffer(x,y, mybuffer.nanoseconds)
printbuffer(x,y, mybuffer.relativetimestamps)
Also see
Reading buffers
(on page 6-4)
Example
To create a 300 reading user buffer name mybuffer2:
mybuffer2 = dmm.makebuffer(300)
To delete mybuffer2:
mybuffer2 = nil
dmm.math.enable
Attribute
Enable or disable math operation on measurements.
Usage
To read the math operation state:
value = dmm.math.enable
To write the math operation state:
dmm.math.enable = value
value
: Set to one of the following:
dmm.ON or 1 to enable math operation on measurements
dmm.OFF or 0 to disable math operation on measurements
Remarks
When this attribute is set to dmm.ON, the math operation specified by math format
attribute (dmm.math.format) will be performed before doing a limit test, if limit testing is
enabled.
To not perform a math operation on a measurement, set the attribute to dmm.OFF. The
default setting is dmm.OFF.
Also see
dmm.math.format
(on page 9-100)