User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-157
dmm.range
Remarks
This attribute is the range setting for the selected function (see dmm.func (on page 13-
137)) of the DMM. Querying the range when the selected function does not have a
range associated with it will cause nil to be returned.
The range will be selected based on which one best suits the expected measure value
(value parameter). The command is applicable when dmm.func = "dcvolts" (0 to 303,
default 303), "acvolts" (0 to 303, default 303), "dccurrent" (0 to 3.1, default 3.1),
"accurrent" (0 to 3.1, default 3.1), "twowireohms" (0 to 120e6, default 120e6),
"fourwireohms" (0 to 120e6, default 120e6) and "commonsideohms" (0 to 120e6,
default 120e6).
NOTE The values in parentheses represent the valid range setting for each
function.
An error will be generated if the command is received when dmm.func (on page 13-
137) is:
"temperature"
"frequency"
"period"
"continuity"
"nofunction".
Also, an error will be generated if parameter value does not make sense for selected
function.
Changing functions with dmm.func (on page 13-137) will reflect the range setting for
that function.
The factory default and dmm.reset() (on page 13-161) function value is 303 because
the default function is "dcvolts".
Set this value to the expected measurement value and the unit will select the range
appropriate to measure that value. Setting the range with this attribute will
automatically disable the auto range setting (dmm.autorange (on page 13-113)
command).
Example
To set the range for DC volts to 10:
dmm.func = "dcvolts"
dmm.range = 5