You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using areaDetector with many ADC (digitizers), mostly on uTCA platform. Number of channels varies from 1 to 10 or more, but I tend to have them split into individual asyn addresses within the driver (not using a 2D NDArray).
I have developed couple of ADDrivers and I'm including NDArrayBase.template at the top of my driver DB files. The reason being that ADBase.template provides lots of 2D detector (camera?) specific records. OTOH, I find myself defining (per driver) generic records like serial number, manufacturer, status messages, and similar since NDArrayBase.template does not include those.
Would it be acceptable to provide 1D detector ADBase.template equivalent only with records ticked below (some are marked with ? as I'm not sure if they would be needed)? See below for an idea of what would be included. In addition, looking at the ADCSimDetector.template I think some of those records would be candidates for this new 1D template, too. There might be some new records added, 1D specific, but haven't gone that far just yet to identify some.
I assume that template C++ counterpart would be needed also.
For devices that don't fit into these categories then making a new base class that derives from asynNDArrayDriver and provides a new database on top of NDArrayBase.template makes sense. The question is whether it belongs in the areaDetector project, or in its own repository in epics-modules, for example.
I was thinking of a new asynNDArrayDriver derived class and template that would include NDArrayBase.template that would live in ADCore. Maybe I should just create proof of concept and do a PR, and you can see what I mean.
Then I would use this new class and template as basis for ADC drivers.
I would prefer to be as close as possible to the ADCore code. Looking at transientRecorder repo it looks unmaintained; two years of no activity..
If I would opt to have those drivers in epics-modules, are there any requirements/restrictions for code to be living there?
I'm using areaDetector with many ADC (digitizers), mostly on uTCA platform. Number of channels varies from 1 to 10 or more, but I tend to have them split into individual asyn addresses within the driver (not using a 2D NDArray).
I have developed couple of ADDrivers and I'm including NDArrayBase.template at the top of my driver DB files. The reason being that ADBase.template provides lots of 2D detector (camera?) specific records. OTOH, I find myself defining (per driver) generic records like serial number, manufacturer, status messages, and similar since NDArrayBase.template does not include those.
Would it be acceptable to provide 1D detector ADBase.template equivalent only with records ticked below (some are marked with ? as I'm not sure if they would be needed)? See below for an idea of what would be included. In addition, looking at the ADCSimDetector.template I think some of those records would be candidates for this new 1D template, too. There might be some new records added, 1D specific, but haven't gone that far just yet to identify some.
I assume that template C++ counterpart would be needed also.
The text was updated successfully, but these errors were encountered: