Skip to content

Commit

Permalink
Merge pull request #1173 from ZLLentz/fix_att_states
Browse files Browse the repository at this point in the history
FIX: tmo spec satt has 6 states, not 7
  • Loading branch information
ZLLentz authored Oct 4, 2023
2 parents f0f7cdb + b294a2b commit 89df072
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions docs/source/upcoming_release_notes/1173-fix_att_states.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
1173 fix_att_states
###################

API Breaks
----------
- N/A

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

Device Updates
--------------
- N/A

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

Bugfixes
--------
- The TMO Spectrometer (SP1K4) now correctly has 6 attenuator states
instead of 7, which was causing a myriad of issues due to other
internal bugs.

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

Contributors
------------
- zllentz
4 changes: 2 additions & 2 deletions pcdsdevices/spectrometer.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,10 @@ class TMOSpectrometerSOLIDATTStates(TwinCATStatePMPS):
"""
Spectrometer Solid Attenuator(FOIL X and Y) 2D States Setup
Here, we specify 7 states,(after adding an Unknown state), and 2 motors, for the X and Y
Here, we specify 6 states,(after adding an Unknown state), and 2 motors, for the X and Y
axes.
"""
config = UpCpt(state_count=7, motor_count=2)
config = UpCpt(state_count=6, motor_count=2)


class TMOSpectrometer(BaseInterface, GroupDevice, LightpathMixin):
Expand Down

0 comments on commit 89df072

Please sign in to comment.