Keithley 3700 series Reference Manual page 247

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Series 3700 System Switch/Multimeter Reference Manual
dmm.measure
Function
Usage
Remarks
Also see
Example
dmm.measurecount
Attribute
Usage
Document Number: 3700S-901-01 Rev. A / August 2007
Handles taking measurements on the DMM without using the trigger model.
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 = dmm.measure()
reading: Contains the last reading of the measurement process
2. To return the last reading of the measurement process while storing all readings
accounted for by dmm.measurecount:
reading = dmm.measure(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
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 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.
dmm.makebuffer
(on page 9-98)
dmm.measurecount
(on page 9-103)
dmm.measurewithtime
(on page 9-104)
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)
Indicates the number of measurements to take when a measurement is requested by
dmm.measure.
To read measure count:
count = dmm.measurecount
To write measure count:
dmm.measurecount = count
count: Number of measurements. Maximum value: 32000
Section 9: Instrument Control Library (ICL)
9-103

Advertisement

Table of Contents
loading

Table of Contents