areaDetector / ADGenICam

areaDetector base class for GenICam cameras.
https://areadetector.github.io/master/ADGenICam/ADGenICam.html
7 stars 16 forks source link

Add PVs for minimum and maximum for GenICam int64 and double features #30

Open MarkRivers opened 1 year ago

MarkRivers commented 1 year ago

It would be good to have PVs containing the current minimum and maximum for numeric GenICam features. These could also potentially be propagated to the DRVL and DRVL fields of the records for GenICam features, and perhaps the abstract records as well.

Perhaps the GenICam Implemented flag could also be added which could even set the record alarm state to INVALID.

This would not be too hard to implement. The Python script could automatically generate the _MIN, _MAX, and _VALID records. The parameter library would have 2 or 3 more entries for each GenICam parameter. ADGenICam would write these values to the parameter library as it does with the VAL field each time the features are read.

amichelotti commented 1 year ago

Thanks Mark.That would be great enhancement!