
Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-234
3700AS-901-01 Rev. D/June 2018
dmm.units
This attribute contains the units that are used for voltage and temperature measurements.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW) Yes
Reset
DMM reset
Recall setup
Create configuration script
Save setup
0 (dmm.UNITS_VOLTS) for "acvolts" and
"dcvolts"
2 (dmm.UNITS_CELSIUS) for "temperature"
Usage
state
= dmm.units
dmm.units =
state
value
For DC volts and AC volts, select from the following units:
▪
dmm.UNITS_VOLTS
or
0
▪
dmm.UNITS_DECIBELS
or
1
For temperature, select from the following units:
▪
dmm.UNITS_CELSIUS
or
2
▪
dmm.UNITS_KELVIN
or
3
▪
dmm.UNITS_FAHRENHEIT
or
4
Details
This attribute is only valid when
dmm.func
is set to
"dcvolts"
,
"acvolts"
, or
"temperature"
.
All other functions generate an error and return nil when queried.
The units value is saved with the
dmm.func
function setting, so if you use another function, then
return to
"dcvolts"
,
"acvolts"
, or
"temperature"
, the units setting you set previously is
retained.
Errors are generated if the parameter value does not make sense for the selected function.
Example
dmm.func = "temperature"
dmm.units = dmm.UNITS_FAHRENHEIT
Sets units for temperature measurements to
Fahrenheit (°F).
Also see
(on page 11-166)
(on page 11-179)