id4_common.devices.magnet_kepco_4idg#

Diffractometer magnet

Module Contents#

id4_common.devices.magnet_kepco_4idg.logger#
class id4_common.devices.magnet_kepco_4idg.KepcoDevice#

Bases: ophyd.Device

Kepco power supply device with field/current/voltage positioners and protection limits.

manufacturer#
model#
model2#
calibration#
serial#
firmware#
status#
status_output#
status_list#
status_errors#
status_mode#
status_protect#
status_message#
last_error_message#
field#
voltage#
current#
mode#
enable#
current_protection_positive#
current_protection_negative#
voltage_protection_positive#
voltage_protection_negative#
current_limit_positive#
current_limit_negative#
voltage_limit_positive#
voltage_limit_negative#
t1#
t2#
t3#
status_temperature#
default_settings()#

Enable automatic current-mode enforcement on connect.

start_auto_mode()#

Subscribe to mode changes so voltage mode is automatically corrected to current mode.

stop_auto_mode()#

Unsubscribe all auto-mode callbacks so voltage mode is no longer enforced.