jacdac.d_cvoltage_measurement

Submodules

Package Contents

Classes

DCVoltageMeasurementClient

A service that reports a voltage measurement.

class jacdac.d_cvoltage_measurement.DCVoltageMeasurementClient(bus: jacdac.bus.Bus, role: str, *, missing_measurement_value: float = None)

Bases: jacdac.bus.SensorClient

A service that reports a voltage measurement. Implements a client for the DC Voltage Measurement service.

property measurement_type: jacdac.d_cvoltage_measurement.constants.DCVoltageMeasurementVoltageMeasurementType | None

The type of measurement that is taking place. Absolute results are measured with respect to ground, whereas differential results are measured against another signal that is not ground.,

property measurement_name: str | None

A string containing the net name that is being measured e.g. POWER_DUT or a reference e.g. DIFF_DEV1_DEV2. These constants can be used to identify a measurement from client code.,

property measurement: float | None

The voltage measurement., _: V