genicam / harvesters

Image Acquisition Library for GenICam-based Machine Vision System
Apache License 2.0
500 stars 86 forks source link

Catch InvalidParameterException on registering module event listeners to work on FLIR cameras #421

Closed oliver-batchelor closed 1 month ago

oliver-batchelor commented 1 year ago

Allow cameras to work - problem described in issue #408

FLIR cameras seem to throw an InvalidParameterException on startup to everything except _remote_device when registering events. This seems to allow normal functionality. I don't know if there are other unintended consequences.

keck-in-space commented 10 months ago

Chiming in to say this is a great idea, we applied it for our use as well. We'd love to see this in the actual library so we don't have to hand edit our versions.

LasseBG commented 9 months ago

This work for me to use FLIR cams

sunavlis commented 1 month ago

I wasn't able to reproduce the issue because I haven't such FLIR camera. But it seams to solve your issue with such device and the PR make some how sense for me.

@oliver-batchelor Thanks for your contribution, PR is merged into main branch and part of the upcoming release