Amperometer¶
- class Amperometer(target: MotorBase)¶
Bases:
SensorBaseAmperometerobject.Attributes¶
Methods¶
get_value()It gets the electric current of the
targetmotor object.
- get_value(unit: str | None = None) Current | float | int¶
It gets the electric current of the
targetmotor object.If a
unitis set, then it converts the electric current to that unit and returns only the numerical value as float or integer.Parameters¶
Returns¶
Raises
TypeErrorIf
unitis not astr.