BFS-U3-19S4M-C: error acquisition when stream live video
Hello,
I would like to get back to you about my live streaming project. In my software, I also offer the option of saving an image to disk.
Once in a while, when saving to disk, I get the following message in my logs:
[-1011] raised in function Spinnaker::CameraBase::GetNextImage at line 188
Can you tell me more about this error message in the ‘GetNextImage’ method, please ?
Probably due to my buffer being constantly refreshed in my viewer...
Thank you,
Best regards,
-
Hi Grégory,
-1011 is a timeout exception. You can find all error types in C:\Program Files\Teledyne\Spinnaker\include\SpinnakerDefs.h enum Error
This would be independent of what you do with the images after they arrive on the PC.
Does the camera keep running after this?
Do you trigger the camera or is it free running?
What timeout value do you use for GetNextImage?Best regards,
Manuel
0 -
Hi Manuel,
Thank you for your reply. Ok, I note that this error code corresponds to the timeout of the method 'GetNextImage'.
To answer your questions, yes, I trigger the camera via ‘TriggerSoftware’ et le timeout est de 500 ms.
In fact, to avoid this problem, which was caused by my live streaming, I use the buffer for the display in my GUI. This buffer is an unsigned char* (for the display in OpenGl), which comes from a copy, (via DeepCopy), of the converted image. So there is no longer any conflict.
Best regards,
0
Please sign in to leave a comment.
Comments
2 comments