Skip to main content

Shutdown Cleanly with Infinite Timeout and hardware trigger



1 comment

  • Official comment
    Community team
    Great answers
    Expert (Gold)


    Basically, GetNextImage is implemented such that it blocks until image arrives in the allocated buffer.

    With your application logic and program implementation, I would rather not set the timeout to infinite. 

    Instead apply any of these options:

    1. use image event approach to grab image from camera(recommended). Please reference ImageEvents example code part of spinnaker sdk on how to implement this.
    2. Set specific timeout period for each GetNextImage, and ignore any timeout exception

    I hope this approach helps to resolve this issue.



Please sign in to leave a comment.

Powered by Zendesk