Open slactjohnson opened 1 month ago
The current BtpsSourceStatus uses PVs to create stage components. It might be useful to get these stages from the happi database rather than direct instantiation, as well as the cameras.
BtpsSourceStatus
https://github.com/pcdshub/pcdsdevices/blob/ce9d569aed0a142f82b993237141e91c3aa4ad42/pcdsdevices/lasers/btps.py#L661-L669
We need to update some stages/cameras in the configuration. We have this information tracked in the code, rather than happi.
I'm not really sure which method is better; I just wanted to make an issue to track this idea.
Having it in Happi let's us pull the device into typhos etc so there's that benefit.
It looks like the only common prefix is the first segment (LTLHN), but that's should make Happi instantiation ok
Current Behavior
The current
BtpsSourceStatus
uses PVs to create stage components. It might be useful to get these stages from the happi database rather than direct instantiation, as well as the cameras.https://github.com/pcdshub/pcdsdevices/blob/ce9d569aed0a142f82b993237141e91c3aa4ad42/pcdsdevices/lasers/btps.py#L661-L669
Context / environment
We need to update some stages/cameras in the configuration. We have this information tracked in the code, rather than happi.
Suggested Solution
I'm not really sure which method is better; I just wanted to make an issue to track this idea.