Skip to content

Commit

Permalink
Merge pull request #865 from lnls-sirius/add-wig-corrs-global-config
Browse files Browse the repository at this point in the history
Add wiggler correctors to global config
  • Loading branch information
xresende authored Oct 31, 2022
2 parents 9fd4298 + 580a66c commit 3bce151
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion siriuspy/siriuspy/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.58.0
2.59.0
13 changes: 12 additions & 1 deletion siriuspy/siriuspy/clientconfigdb/types/global_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1524,6 +1524,7 @@ def get_dict():


_pvs_si_ps_ch = [
# NOTE: these are SOFB correctors usually used in SlowRefSync/PSSOFB mode.
['SI-01M2:PS-CH:Current-SP', 0.0, 0.0], # [A]
['SI-01C1:PS-CH:Current-SP', 0.0, 0.0], # [A]
['SI-01C2:PS-CH:Current-SP', 0.0, 0.0], # [A]
Expand Down Expand Up @@ -1648,6 +1649,7 @@ def get_dict():


_pvs_si_ps_cv = [
# NOTE: these are SOFB correctors usually used in SlowRefSync/PSSOFB mode.
['SI-01M2:PS-CV:Current-SP', 0.0, 0.0], # [A]
['SI-01C1:PS-CV:Current-SP', 0.0, 0.0], # [A]
['SI-01C2:PS-CV-1:Current-SP', 0.0, 0.0], # [A]
Expand Down Expand Up @@ -2561,6 +2563,14 @@ def get_dict():
]


_pvs_si_ps_ids = [
['SI-14SB:PS-CH-1:OpMode-Sel', _SLOWREF, 0.0],
['SI-14SB:PS-CH-2:OpMode-Sel', _SLOWREF, 0.0],
['SI-14SB:PS-CH-1:Current-SP', 0.0, 0.0], # [A]
['SI-14SB:PS-CH-2:Current-SP', 0.0, 0.0], # [A]
]


_template_dict = {
'pvs':
_pvs_as_ti +
Expand All @@ -2571,5 +2581,6 @@ def get_dict():
_pvs_tb_ps + _pvs_bo_ps + _pvs_ts_ps +
_pvs_si_ps_fam +
_pvs_si_ps_ch + _pvs_si_ps_cv +
_pvs_si_ps_qs + _pvs_si_ps_qn
_pvs_si_ps_qs + _pvs_si_ps_qn +
_pvs_si_ps_ids
}

0 comments on commit 3bce151

Please sign in to comment.