Read Image Buffer Size

Hi

Is there a simple way to check the size of the buffer, once the image has been acquired? When acquiring images (GigE, over a network) I occasionally get some distorted images, the frames appear incomplete. Once saved, the images are half the size of that expected. Is there anyway to check the size of the image in the frame buffer, before saving? That way I could check for errors before saving and re-acquire if an error is detected.

I appreciate this is a short term solution, longer term, I will check my network, as I believe this is the source of the errors (packet collisions)

Cheers

Rich

Hi Richard,

arv_buffer_get_status() is the function that will tell you if the buffer was correctly received.

Ah, yes, thanks very much!