device.magnets_ps_switch module

class device.magnets_ps_switch.PowerSupply_Magnets_SwitchOnOff(bus, **kwargs)[source]

Bases: HardwareBase

Mains power switch for 2 power suplies (magnets experiment).

Communication:

  • Serial interface to Arduino, send ‘s’ to toggle the switch.

is_on()[source]
switch_off()[source]
switch_on()[source]