device.trap_cathode module

class device.trap_cathode.TrapCathodeHeater(calibfile, bus, limits_enabled=True, **kwargs)[source]

Bases: ArduinoMotorsBase

Arduino based motor controller (trap experiment), which controls the autotransformator output. Also there are two power relays.

Communication:

  • serial interface to Arduino

current()[source]

Return the current in cathode

homing()[source]

Execute homing procedure for each of the motors.

is_output_on()[source]

Return the state of relay that powers transformator.

moveto(position)[source]

Move motor to position [mm].

set_current(current)[source]

Set output transformator current [A] by moving the motor.

switch_output_off()[source]
switch_output_on()[source]
update_frontend(device_client)[source]