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.
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
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
dmm.configure.recall() (on page 11-165)
dmm.configure.set() (on page 11-166)
dmm.func (on page 11-179)