SDK docs menu

class

Reading

A value one of the board's panels shows, as returned by Board.readings.

from hardlabs_sdk import Reading

float(reading) gives its value as a number.

Attributes

namestr
The name Board.read takes, <panel>.<reading>.
labelstr
The reading's label on the panel.
valueAny
A number, True/False, a name, or None when the board doesn't report it.
unitstr | None
The value's unit.
textstr
The value as the panel shows it, with its unit: "3.30 V".
aliasestuple
Other names it answers to, by reference designator.