class
Control
Something you can do to the board, as returned by Board.controls.
from hardlabs_sdk import ControlAttributes
namestr- The name
Board.dotakes,<panel>.<control>. kindstr- What it takes.
buttonandpresettake nothing,toggletakesTrue/False,numberandslidertake a number, andform,vectorandgeneratortake named values (seefields). labelstr- The control's label on the board's panel.
usagestr- How to call it, e.g.
bench-supply.volts <value 0..24 V>. minfloat | None- The lowest value it takes.
maxfloat | None- The highest value it takes.
unitstr | None- The value's unit.
fieldstuple[dict, ...]- For a
formorgenerator, the keyword argumentsBoard.dotakes, each withnameand, when set,label,min,max,unitanddefault. aliasestuple- Other names it answers to, by reference designator:
("U3.set-ambient-temperature",).