
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-105
dmm.measurewithtime
Example
To perform 100 DC voltage measurements and store then in a buffer, called mybuff,
and print the last measurement:
mybuff = dmm.makebuffer(100)
dmm.func = "dcvolts"
dmm.measurecount = 100
reading, seconds, fractional = dmm.measurewithtime(mybuff)
print(reading, seconds, fractional)
-1.064005867e-002 1.779007 1.245658350e-001
dmm.nplc
Attribute
Indicates the integration rate in line cycles for the DMM.
Usage
To read the integration rate:
value = dmm.nplc
value
: Represents the present integration rate in line cycles
To write the integration rate:
dmm.nplc = value
value
: Represents the desired integration in line cycles:
60 Hertz: 0.0005 to 15
50 Hertz: 0.002 to 12.
Remarks
This is the integration rate setting for the DMM in line cycles. It applies to the selected
function as indicated by
dmm.func
(on page 9-91). Querying the setting when the
selected function does not support it will cause nil to be returned.
The command generates an error when dmm.func is:
"frequency‖
―period‖
―continuity‖
―nofunction‖
Also, an error will be generated if the value is out of range and dependent on the line
frequency.
Changing functions with
dmm.func
(on page 9-91) has no effect on this setting.
The factory default and
dmm.reset
(on page 9-112) function value is 1.
Also see
dmm.aperture
(on page 9-70)
Example
To set the NPLC for two-wire ohms to 0.5:
dmm.func = "twowireohms"
dmm.nplc = 0.5