I need the RetrieveBuffer() call to block unless an external trigger causes a new frame to be transmitted. The first time it is called, if a previous frame has been placed in the camera's buffer, it will not block and will return the old image. How can I start the acquisition in a "fresh" state, no old buffer hanging around?
This occurs after the camera after stopping acquisition, disconnecting. It even occurs after power cycling the camera. Seems like resetting the DMA controller or network interface card might work, but are ridiculous.
I need the
RetrieveBuffer()
call to block unless an external trigger causes a new frame to be transmitted. The first time it is called, if a previous frame has been placed in the camera's buffer, it will not block and will return the old image. How can I start the acquisition in a "fresh" state, no old buffer hanging around?This occurs after the camera after stopping acquisition, disconnecting. It even occurs after power cycling the camera. Seems like resetting the DMA controller or network interface card might work, but are ridiculous.
I've contacted PG support for a solution.