Skip to content

Commit

Permalink
fixes #258
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Nov 22, 2019
1 parent 6145b11 commit 79610b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apstools/synApps/swait.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def _swait_channels(channel_list):
return defn


class SwaitRecord(EpicsRecordFloatFields, EpicsRecordDeviceCommonAll):
class SwaitRecord(EpicsRecordDeviceCommonAll):
"""
synApps swait record: used as $(P):userCalc$(N)
Expand All @@ -99,6 +99,10 @@ class SwaitRecord(EpicsRecordFloatFields, EpicsRecordDeviceCommonAll):
~reset
"""
precision = Cpt(EpicsSignal, ".PREC")
high_operating_range = Cpt(EpicsSignal, ".HOPR")
low_operating_range = Cpt(EpicsSignal, ".LOPR")

calculated_value = Cpt(EpicsSignal, ".VAL")
calculation = Cpt(EpicsSignal, ".CALC")

Expand Down

0 comments on commit 79610b1

Please sign in to comment.