Skip to main content

Shutdown Cleanly with Infinite Timeout and hardware trigger

Answered

Comments

1 comment

  • Official comment
    TDY_Ifeanyi
    Community team
    Great answers
    Expert (Gold)

    Hello,

    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.

    Regards,

    Ifeanyi

Please sign in to leave a comment.

Powered by Zendesk