Skip to main content
Read a bench digital multimeter (DMM) net. Calls go through the box’s hardware service, which owns the meter’s VISA session. A script and the CLI can use the same meter at once.

Import

Methods

Net.get(name, type=NetType.DMM)

measure(function, range=None, nplc=None, sensor=None)

Returns: float in V, A, ohm, Hz, s, F or degC, or None when the meter reports overload or an open input. Raises:
  • DMMUnsupportedError (a ValueError): the meter cannot do the function, range, NPLC value or sensor.
  • DeviceError (from lager.nets.device): the meter rejects a command or does not answer. The message carries the meter’s error.
The valid ranges and NPLC values per instrument are listed in the CLI reference.

Example