Python Module

digital_multimeter.DigitalMultimeter #

[view source] #

DigitalMultimeter #

class DigitalMultimeter()
[view source] #

Implements an interface to various digital multimeters

__init__ #

 | def __init__(connect=None, model='Default')
[view source] #

NB: Connection to the digital multimeter does not occur until required in a get_reading() call.


  • connect (str) - the connection to the digital multimeter, for example /dev/ttyUSB0
  • model (str) default: Default - the digital multimeter model to use for this connection; check models supported for a list of supported. Model names are case sensitive.

get_reading #

 | def get_reading()
[view source] #

Load the digital multimeter and establish a connection if required, then get a reading of the instrument and return.

get_models_supported #

 | def get_models_supported()
[view source] #

Returns a list of the supported digital multimeter models.