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

IPM's should have a `target_in` function that takes an argument to insert the specified target #544

Closed ZLLentz closed 4 years ago

ZLLentz commented 4 years ago

Copied from card on run 18 board

IPM Motion devices can be moved to specific states using the move function. I remember state 0 being unknown, states 1-4 being targets 1-4, and 5 being out

ZLLentz commented 4 years ago

Quick confirmation on the IPM state enum:

$ caget -d 31 XPP:SB2:IPM:TARGET
XPP:SB2:IPM:TARGET
    Native data type: DBF_ENUM
    Request type:     DBR_CTRL_ENUM
    Element count:    1
    Value:            T2
    Status:           STATE
    Severity:         MINOR
    Enums:            ( 6)
                      [ 0] Unknown
                      [ 1] T1
                      [ 2] T2
                      [ 3] T3
                      [ 4] T4
                      [ 5] OUT