Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-93
dmm.getconfig
Remarks
Use this command to query for DMM configurations associated with channels or channel
patterns. The response will be a comma delimited string listing the configurations in the
same order as specified in
ch_list
.
The configurations listed in the response indicate how the DMM will be configured when
the corresponding channel or channel pattern is closed with the dmm.close function or
used in a scan list without an overriding DMM configuration(s).
An error will be generated if:
Syntax error in parameter string.
An empty parameter string.
A specified channel or channel pattern is invalid.
Channel number does not exist for slot based on installed card.
Slot is empty.
Channel pattern does not exist.
Channel being specified does not support a configuration setting like a digital I/O
channel or analog backplane relay.
Command processing will stop once an error is detected and a nil response will be
generated.
Also see
dmm.setconfig
(on page 9-116)
Example
To query channels on slots 1 and 2:
myconfigs = dmm.getconfig("slot1, slot2")
To query channels 1 to 10 on Slot 3:
myconfigs = dmm.getconfig("3001:3010")
dmm.inputdivider
Attribute
Enables or disables the 10M ohm input divider.
Usage
To read the input divider state:
value = dmm.inputdivider
value
: Represents the present input divider
To write the input divider state:
dmm.inputdivider = value
value
: Represents the desired input divider state.
Use one of the following for
value
:
dmm.ON or 1
dmm.OFF or 0
Remarks
This attribute is only valid when dmm.func = ―dcvolts‖. All other functions generate an
error and return nil when queried.
Changing functions with
dmm.func
(on page 9-91) has no effect on this setting.
The factory default and dmm.reset function value is dmm.OFF.