Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-104
Document Number: 3700S-901-01 Rev. A / August 2007
dmm.measurecount
Remarks
This attribute controls the number of measurements taken any time a measurement is
requested. When using a reading buffer with a measure command, the count also
controls the number of readings to be stored.
It has no effect on the trigger model, and the trigger model does not affect this setting.
The factory default and
dmm.reset
(on page 9-112) value is 1.
Also see
dmm.makebuffer
(on page 9-98)
dmm.measure
(on page 9-102)
Example
To set the measure count on DMM to 50:
dmm.measurecount = 50
dmm.measurewithtime
Function
Handles taking measurements on the DMM without using the trigger model.
Usage
There are two ways to use this function:
1. To return the last reading of the measurement process taken and accounted for by
dmm.measurecount:
reading, seconds, fractional = dmm.measurewithtime()
reading
: Contains the last reading of the measurement process
seconds
: Contains seconds
fractional
: Contains seconds and fractional seconds
2. To return the last reading of the measurement process while storing all readings
accounted for by dmm.measurecount:
reading = dmm.measurewithtime(rbuffer)
rbuffer
: A previously created reading buffer object where all the reading(s) will be
stored.
reading
: Contains the last reading of the measurement process
Remarks
This function returns only the last actual measurement as reading. To use the
additional information acquired while making a measurement, a reading buffer must be
used. If the instrument is configured to return multiple readings when a measurement
is requested, all readings will be available in rbuffer if one is provided, but only the last
reading will be returned as reading.
The
dmm.measurecount
(on page 9-103) attribute determines how many
measurements are performed. When using a buffer, it also determines the number of
readings to store in the buffer.
Also see
dmm.makebuffer
(on page 9-98)
dmm.measure
(on page 9-102)
dmm.measurecount
(on page 9-103)