pcdshub / pcdsdevices

Collection of Ophyd device subclasses for IOCs unique to LCLS PCDS.
https://pcdshub.github.io/pcdsdevices/
Other
5 stars 59 forks source link

MFX, CXI lens stacks are special #138

Closed ZLLentz closed 3 years ago

ZLLentz commented 6 years ago

This is a reminder to break these out into hutch-specific classes when we make the hutch repos. Suggested implementations:

# MFX DIA
# CXI DG2
class XFLS2(XFLS):
    """
    XRay Focusing Lens (Be)

    These are the stacks with common names on their states and state config PVs
    that show the focusing config
    """
    states_list = ['6K70', '7K50', '9K45', 'OUT']
    in_states = ['6K70', '7K50', '9K45']

# CXI DS1
class XFLS3(XFLS):
    """
    XRay Focusing Lens (Be)

    This is the stack in CXI with a screwed up IOC. The states list are
    numbered by lens, but the config PVs are all over the place.

    This currently behaves no differently than XFLS, but when we add in the
    state config these values will matter. I'm saving them here for later.
    """
    # Upper/lower case intentional
    _config_states = ['6K70', '7k45', '9k50']
klauer commented 3 years ago

These are in happi now and work as far as I know. Closing because this is 3+ years old.