pcdshub / opcpa-tpr-config

PyDM application for managing the TPR configurations of the OPCPA lasers in the LCLS NEH laser hall.
Other
1 stars 1 forks source link

Use Ophyd .configure method #15

Closed slactjohnson closed 5 months ago

slactjohnson commented 5 months ago

Rather than manually setup signals for each trigger and add the logic for handling the PVs, it is possible to use the TprTrigger class in pcdsdevices and make use of the .configure method. This would use a configuration dictionary, and could simplify the code for applying a given configuration, though the configuration might get slightly more complicated. This would make the configuration more flexible though. Something to investigate.