BCDA-APS / bdp_controls

APS-U Beam line Data Pipelines - experiment controls with EPICS and Bluesky
Other
0 stars 1 forks source link

create & use attributes.xml file #26

Closed prjemian closed 2 years ago

prjemian commented 2 years ago
prjemian commented 2 years ago

AD only gives a boolean on the entire file, acceptable or not. No coaching on what might be an error. There is an XML Schema available to use with xmllint.

On Fri, Apr 8, 2022, 12:23 PM Tejas Guruswamy @.***> wrote:

@.**** approved this pull request.

Does areaDetector give a warning/error if any of the attributes cannot be read, e.g. typo in the PV name?

— Reply to this email directly, view it on GitHub https://github.com/BCDA-APS/bdp_controls/pull/26#pullrequestreview-936762430, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARMUMGJVVVZUG3BFNVYKTDVEBTP7ANCNFSM5SUHO4PQ . You are receiving this because you were assigned.Message ID: @.***>

MarkRivers commented 2 years ago

The boolean for the entire file is for XML syntax errors, not whether the PV is actually reachable. It is not an error for a PV to not be reachable, because the IOC hosting it may be down at the time the AD IOC is started, but it may become reachable later. It is thus not possible to detect typos in PV names.

prjemian commented 2 years ago

@MarkRivers Thanks!