pcdshub / lcls-plc-crixs-motion

Repository for code related to the LCLS NEH H2.2 ChemRIXS endstation motion system.
https://pcdshub.github.io/lcls-plc-crixs-motion/
Other
0 stars 7 forks source link

SL2K2 is missing PVs #61

Closed ZLLentz closed 3 months ago

ZLLentz commented 1 year ago

Many of the PVs defined in the BeckhoffSlits python class are missing from SL2K2

(pcds-5.5.1)zlentz@psbuild-rhel7-03:~$ happi load sl2k2
[2022-11-18 10:19:00] - INFO -  Creating shell with devices ('sl2k2',)
Python 3.9.13 | packaged by conda-forge | (main, May 27 2022, 16:58:50)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.4.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: sl2k2.wait_for_connection()
---------------------------------------------------------------------------
TimeoutError                              Traceback (most recent call last)
Input In [1], in <cell line: 1>()
----> 1 sl2k2.wait_for_connection()

File /cds/group/pcds/pyps/conda/py39/envs/pcds-5.5.1/lib/python3.9/site-packages/ophyd/device.py:1284, in Device.wait_for_connection(self, all_signals, timeout)
   1278     pending = ", ".join(
   1279         description.format(device=dev)
   1280         for dev, funcs in pending_funcs.items()
   1281         for obj, description in funcs.items()
   1282     )
   1283     reasons.append(f"Pending operations: {pending}")
-> 1284 raise TimeoutError("; ".join(reasons))

TimeoutError: Failed to connect to all signals: sl2k2.lightpath_summary, sl2k2.readback (SL2K2:SCATTER:ACTUAL_XWIDTH_RBV), sl2k2.setpoint (SL2K2:SCATTER:XWID_REQ_RBV), sl2k2.readback (SL2K2:SCATTER:ACTUAL_YWIDTH_RBV), sl2k2.setpoint (SL2K2:SCATTER:YWID_REQ_RBV), sl2k2.readback (SL2K2:SCATTER:ACTUAL_XCENTER_RBV), sl2k2.setpoint (SL2K2:SCATTER:XCEN_REQ_RBV), sl2k2.readback (SL2K2:SCATTER:ACTUAL_YCENTER_RBV), sl2k2.setpoint (SL2K2:SCATTER:YCEN_REQ_RBV), sl2k2. (SL2K2:SCATTER:GO_RBV), sl2k2. (SL2K2:SCATTER:TOP:DMOV_RBV), sl2k2. (SL2K2:SCATTER:BOTTOM:DMOV_RBV), sl2k2. (SL2K2:SCATTER:NORTH:DMOV_RBV), sl2k2. (SL2K2:SCATTER:SOUTH:DMOV_RBV)

https://github.com/pcdshub/pcdsdevices/blob/23a747b0cb4b6d7c3719870e16a57e0cbbdd106a/pcdsdevices/slits.py#L489-L511

jyotiphy commented 3 months ago

These slits don't exist anymore for RIXS/chemRIXS. Closing this issue.