From a6a3f80e309e024a07b3fb91fb28a6e2e6dc0755 Mon Sep 17 00:00:00 2001 From: zebra Date: Mon, 5 Jun 2023 13:02:40 +0200 Subject: [PATCH] remove sign=-1 from cfg files --- cfg/main/ma10_cfg.py | 3 ++- cfg/main/ma6_cfg.py | 3 ++- cfg/main/mb11_cfg.py | 3 ++- cfg/main/mb11std_cfg.py | 3 ++- cfg/sea/camea-be-filter_cfg.py | 24 ------------------------ cfg/sea/smamor_cfg.py | 30 ------------------------------ 6 files changed, 8 insertions(+), 58 deletions(-) delete mode 100644 cfg/sea/camea-be-filter_cfg.py delete mode 100644 cfg/sea/smamor_cfg.py diff --git a/cfg/main/ma10_cfg.py b/cfg/main/ma10_cfg.py index a106bc0..c77768a 100644 --- a/cfg/main/ma10_cfg.py +++ b/cfg/main/ma10_cfg.py @@ -79,6 +79,7 @@ Mod('om', 'frappy_psi.phytron.Motor', 'stick rotation, typically used for omega', io='om_io', - sign=-1, + target_min = -180, + target_max = 360, encoder_mode='READ', ) diff --git a/cfg/main/ma6_cfg.py b/cfg/main/ma6_cfg.py index 546c5b9..20145c3 100644 --- a/cfg/main/ma6_cfg.py +++ b/cfg/main/ma6_cfg.py @@ -74,5 +74,6 @@ Mod('om', 'frappy_psi.phytron.Motor', 'stick rotation, typically used for omega', io='om_io', - encoder_mode='NO', + target_min=-180, + target_max=360, ) diff --git a/cfg/main/mb11_cfg.py b/cfg/main/mb11_cfg.py index 8133c58..a7de8ca 100644 --- a/cfg/main/mb11_cfg.py +++ b/cfg/main/mb11_cfg.py @@ -203,7 +203,8 @@ Mod('om', 'frappy_psi.phytron.Motor', 'stick rotation, typically used for omega', io='om_io', - sign=-1, + target_min=-180, + target_max=360, encoder_mode='NO', target=Param(min=-180, max=360) ) diff --git a/cfg/main/mb11std_cfg.py b/cfg/main/mb11std_cfg.py index bcae4d2..b58b512 100644 --- a/cfg/main/mb11std_cfg.py +++ b/cfg/main/mb11std_cfg.py @@ -219,6 +219,7 @@ Mod('om', 'frappy_psi.phytron.Motor', 'stick rotation, typically used for omega', io='om_io', - sign=-1, + target_min=-180, + target_max=360, encoder_mode='NO', ) diff --git a/cfg/sea/camea-be-filter_cfg.py b/cfg/sea/camea-be-filter_cfg.py deleted file mode 100644 index 788c5ea..0000000 --- a/cfg/sea/camea-be-filter_cfg.py +++ /dev/null @@ -1,24 +0,0 @@ -Node('cfg/sea/camea-be-filter.cfg', - 'Camea Be-Filter', - interface='5000', - name='camea-be-filter', -) - -Mod('sea_addons', - 'secop_psi.sea.SeaClient', - 'addons sea connection for camea-be-filter.addon', - config='camea-be-filter.addon', - service='addons', -) - -Mod('t_be_filter', - 'secop_psi.sea.SeaReadable', - io='sea_addons', - sea_object='t_be_filter', -) - -Mod('addonlock_camea-be-filter', - 'secop_psi.sea.SeaWritable', - io='sea_addons', - sea_object='addonlock_camea-be-filter', -) diff --git a/cfg/sea/smamor_cfg.py b/cfg/sea/smamor_cfg.py deleted file mode 100644 index 1c188b3..0000000 --- a/cfg/sea/smamor_cfg.py +++ /dev/null @@ -1,30 +0,0 @@ -Node('cfg/sea/smamor.cfg', - 'Keithley 2450 sourcemeter', - interface='5000', - name='smamor', -) - -Mod('sea_main', - 'secop_psi.sea.SeaClient', - 'main sea connection for smamor.config', - config='smamor.config', - service='main', -) - -Mod('smi', - 'secop_psi.sea.SeaDrivable', - sea_object='smi', - io='sea_main', -) - -Mod('smv', - 'secop_psi.sea.SeaDrivable', - sea_object='smv', - io='sea_main', -) - -Mod('r', - 'secop_psi.sea.SeaReadable', - sea_object='r', - io='sea_main', -)