genicam / harvesters

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

Make the time-out parameter of the try_fetch method mandatory #351

Closed kazunarikudo closed 2 years ago

kazunarikudo commented 2 years ago

What is the goal that you want to achieve by the request? The try_fetch method is called with expectation for a case where the fetch call may not return any buffer. If so, the method should make the time-out parameter mandatory.

Additional context See the updated version of the tutorial document. There you will learn how you can prevent hanging a fetch method call hangs for a buffer that is never delivered to the GenTL Producer.