Handle InvalidParameterException raided from a GenTL Producer on an inquiry for STREAM_INFO_BUF_ANNOUNCE _MIN #95
Labels
improvement
New feature or improvement
Milestone
Describe the bug
InvalidParameterException
is raised from a GenTL Producer on an inquiry forSTREAM_INFO_BUF_ANNOUNCE_MIN
. In the current implementation, it does not except the case so the program will be terminated.To Reproduce
Steps to reproduce the behavior:
Harvester
object.create_image_acquirer
method on it.Expected behavior
From the Harvester's point of view, it is legal to inquire
STREAM_INFO_BUF_ANNOUNCE_MIN
and no exception is raised.Desktop (please complete the following information):
Additional context
None.
Even if it is legal to inquire
STREAM_INFO_BUF_ANNOUNCE_MIN
it is a fact that CVB raises the exception. In this case, a realistic workaround what we can take is to catch the exception andapply a reasonable number of buffers instead of having the correct number from the GenTL Producer.
This issue should be kept investigated but we take this workaround anyway.
Remarks
As far as I remember, the issue was not reproduced in the older releases. There might be a change from a recent release.
The text was updated successfully, but these errors were encountered: