
Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-92
Document Number: 3700S-901-01 Rev. A / August 2007
dmm.func
Details
The DMM has a flat view of settings in terms of commands. However, internally, the
DMM maintains settings on per function basis. Therefore, to see a setting for a particular
function, you need to change to that function with this command (dmm.func) and then
write or read the desired setting. For example, to see the nplc setting for DC volts:
dmm.func = "dcvolts"
dcv_nplc = dmm.nplc
With the DMM internally maintaining settings on a per function basis, you may change to
a function and write your desired settings. Next, change to another function and write
those desired settings. Now, you may switch back to your original function and those
settings will be there. For example:
dmm.func = dmm.DC_VOLTS
dmm.nplc = 0.5
dmm.range = 10
dmm.func = "twowireohms"
dmm.nplc = 0.1
dmm.range = 100000
dmm.func = "dcvolts"
print(dmm.nplc)
0.5
print(dmm.range)
10
dmm.func = dmm.TWO_WIRE_OHMS
print(dmm.nplc)
0.1
print(dmm.range)
100000
Also see
dmm.configure.recall
(on page 9-81)
Example
To make "temperature" the active DMM function:
dmm.func = "temperature"
dmm.getconfig
Function
Queries for the DMM configurations associated with channel list parameter items.
Usage
config =dmm.getconfig(ch_list)
ch_list
: A string indicating channels and/or channel patterns to query.
config
: A comma delimited string listing DMM configurations associated with items in
ch_list
.