DigitalMultimeter
Class DigitalMultimeter
class DigitalMultimeter()
Implements an interface for various digital multimeters via USB and serial
__init__
def __init__(connect=None, model="Default")
Arguments:
connect
: str [required] the connection to the digital multimeter, for example/dev/ttyUSB0
model
: str [defaultDefault
] the digital multimeter model to use for this connection; check models supported for a list of supported. Model names are case-sensitive.
NB: The serial/usb connection to the digital multimeter does not occur until it is first required
in a call to get_reading()
get_reading
def get_reading()
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()
Returns a list of the supported digital multimeter models.