Skip to content

Commit

Permalink
Merge pull request #1174 from KaushikMalapati/k2700
Browse files Browse the repository at this point in the history
DOC: specify k2700 cpts are for ranges
  • Loading branch information
tangkong authored Oct 11, 2023
2 parents 89df072 + ec934f3 commit 12cb7d7
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
1174 k2700_specify_cpts_are_for_ranges
#################

API Breaks
----------
- K2700.dcv renamed to K2700.dcv_range
- K2700.acv renamed to K2700.acv_range
- K2700.dci renamed to K2700.dci_range
- K2700.aci renamed to K2700.aci_range

Features
--------
- N/A

Device Updates
--------------
- Added 'range' to names/docs of dcv, acv, dci, and aci components of K2700

New Devices
-----------
- N/A

Bugfixes
--------
- N/A

Maintenance
-----------
- N/A

Contributors
------------
- N/A
16 changes: 8 additions & 8 deletions pcdsdevices/pim.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,14 +572,14 @@ class K2700(BaseInterface, Device):
doc='Identity (name) of this device')
reading = Cpt(EpicsSignalRO, ":Reading", kind="normal",
doc='Trigger and return a new measurement')
dcv = Cpt(EpicsSignalRO, ":GetDCV", kind="normal",
doc='DC voltage')
acv = Cpt(EpicsSignalRO, ":GetACV", kind="normal",
doc='AC voltage')
dci = Cpt(EpicsSignalRO, ":GetDCI", kind="normal",
doc='DC current')
aci = Cpt(EpicsSignalRO, ":GetACI", kind="normal",
doc='AC current')
dcv_range = Cpt(EpicsSignalRO, ":GetDCV", kind="normal",
doc='DC voltage range')
acv_range = Cpt(EpicsSignalRO, ":GetACV", kind="normal",
doc='AC voltage range')
dci_range = Cpt(EpicsSignalRO, ":GetDCI", kind="normal",
doc='DC current range')
aci_range = Cpt(EpicsSignalRO, ":GetACI", kind="normal",
doc='AC current range')


class IM3L0_K2700(K2700):
Expand Down

0 comments on commit 12cb7d7

Please sign in to comment.