User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-151
dmm.measure()
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 the reading buffer if one is designated
and has been created (see rbuffer in Usage), but only the last reading will be returned
as reading.
The dmm.measurecount (on page 13-151) 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 7-8)
dmm.measurecount (on page 13-151)
dmm.measurewithtime() (on page 13-151)
Example
To perform 100 DC voltage measurements and store them in a buffer called "mybuff":
mybuff = dmm.makebuffer(100)
dmm.func = "dcvolts"
dmm.measurecount = 100
dmm.measure(mybuff)
dmm.measurecount
Attribute
Indicates the number of measurements to take when a measurement is requested by
dmm.measure.
Usage
To read measure count:
count = dmm.measurecount
To write measure count:
dmm.measurecount = count
count: Number of measurements. Maximum value: 450000
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 13-161) value is 1.
Also see
dmm.makebuffer() (on page 7-8)
dmm.measure() (on page 13-150)
Example
To set the measure count on DMM to 50:
dmm.measurecount = 50