epics-containers / ioc-adaravis

A container image for a generic IOC to support GigE cameras via the ADAravis support module
Apache License 2.0
0 stars 1 forks source link

Genicam autogeneration of DB and screens #40

Closed gilesknap closed 4 months ago

gilesknap commented 4 months ago

Auto generation of database template, pvi device and bob screens from the genicam XML extracted from the camera itself.

To use this set 'CLASS' to AutoADGenICam. We still support CLASS being one of the predefined templates in the ADGenIcam module in which case that is used but the pvi is still auto generated from that.

@GDYendell note that I'm manually patching things right now with sed, but as per https://github.com/epics-containers/pvi/issues/120 I hope to drop these once a new version of PVI is available. See the following comments for what I hope to see changed in PVI: https://github.com/epics-containers/ioc-adaravis/blob/57bd5b28a12cb5c2e237caee15670602481c1341/ioc/start.sh#L146-L154

Also note I fell back to supporting only one type of camera per IOC - all the corner cases were getting too fiddly for a feature we don't need. https://github.com/epics-containers/ioc-adaravis/blob/57bd5b28a12cb5c2e237caee15670602481c1341/ioc/start.sh#L131-L136

Will squash merge this.

gilesknap commented 4 months ago

@marcelldls would you like to pick this up again and take a look at Tom's comments please?

I'm rather embedded in Argo CD right now and am not in for the next few days.