Skip to content

Conversation

@canismarko
Copy link
Collaborator

The current PV used to check the global shutter permit status is an internal PV not meant to be used by beamlines. This PR replaces the internal PV with the public-facing version.

Tested at 25-ID to make sure it can connect and read properly:

>>> from apstools.devices import ApsMachineParametersDevice
>>> aps = ApsMachineParametersDevice(name="aps")
>>> aps.wait_for_connection()
>>> aps.read()
>>> aps.shutter_status.read()
{'aps_shutter_status': {'value': 'PERMIT', 'timestamp': 631152000.0}}
>>> aps.shutter_status.describe()
{'aps_shutter_status': {'source': 'PV:XFD:ShutterPermit', 'dtype': 'string', 'shape': [], 'units': None, 'lower_ctrl_limit': None, 'upper_ctrl_limit': None, 'enum_strs': ('NO PERMIT', 'PERMIT')}}

Copy link
Contributor

@prjemian prjemian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks great.

@prjemian prjemian merged commit 0b1825d into BCDA-APS:main Nov 25, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants