areaDetector / ADSpinnaker

An EPICS areaDetector driver for cameras from FLIR (formerly Point Grey) using their Spinnaker SDK.
https://areadetector.github.io/areaDetector/ADSpinnaker/ADSpinnaker.html
5 stars 6 forks source link

Bug in stream statistics in R3-4 #11

Closed MarkRivers closed 8 months ago

MarkRivers commented 8 months ago

ADSpinnaker R3-4 added more stream statistics like ReceivedFrameCount and ResendRequestedPacketCount. However, these parameters are not available on all cameras, e.g. USB vs GigE. When a parameter is not supported the SDK throws an exception and the driver prints an error message. This leads to a constant stream of error messages on some cameras when acquiring.

MarkRivers commented 8 months ago

This problem is fixed by checking IsReadable() for the statistics nodes in this commit. https://github.com/areaDetector/ADSpinnaker/commit/5c6eabec30347b0f421ad748ff358a626146d3de

MarkRivers commented 8 months ago

Closed with https://github.com/areaDetector/ADSpinnaker/commit/5c6eabec30347b0f421ad748ff358a626146d3de