User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-139
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 13-128)
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.