Skip to content

Commit

Permalink
Merge pull request #368 from lnls-sirius/fix-sofb
Browse files Browse the repository at this point in the history
Fix PV database definitions in SOFB csdevice.
  • Loading branch information
fernandohds564 authored Feb 11, 2020
2 parents 8f28bfe + 0937d92 commit 8023e1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion siriuspy/siriuspy/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.13.0
1.13.1
9 changes: 4 additions & 5 deletions siriuspy/siriuspy/csdevice/orbitcorr.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,10 +532,10 @@ def get_respmat_database(self, prefix=''):
'unit': 'Maximum number of SV to use'},
'DeltaKickCH-Mon': {
'type': 'float', 'count': self.NR_CH, 'value': self.NR_CH*[0],
'unit': 'Last CH kicks calculated.'},
'unit': 'urad'},
'DeltaKickCV-Mon': {
'type': 'float', 'count': self.NR_CV, 'value': self.NR_CV*[0],
'unit': 'Last CV kicks calculated.'},
'unit': 'urad'},
}
return self._add_prefix(db, prefix)

Expand Down Expand Up @@ -700,7 +700,7 @@ def get_sofb_database(self, prefix=''):
def get_corrs_database(self, prefix=''):
"""Return OpticsCorr-Chrom Soft IOC database."""
db_ring = {'KickRF-Mon': {
'type': 'float', 'value': 1, 'unit': 'Hz', 'prec': 3}}
'type': 'float', 'value': 1, 'unit': 'Hz', 'prec': 2}}
db = super().get_corrs_database(prefix=prefix)
db.update(self._add_prefix(db_ring, prefix))
return db
Expand All @@ -715,8 +715,7 @@ def get_respmat_database(self, prefix=''):
'type': 'enum', 'enums': self.EnblRF._fields, 'value': 0,
'unit': 'If RF is used in correction'},
'DeltaKickRF-Mon': {
'type': 'float', 'value': 0,
'unit': 'Last RF kick calculated.'},
'type': 'float', 'value': 0, 'prec': 2, 'unit': 'Hz'},
}
db = super().get_respmat_database(prefix=prefix)
db.update(self._add_prefix(db_ring, prefix))
Expand Down

0 comments on commit 8023e1d

Please sign in to comment.