Page 1 of 1

FTP Buffer overrun

Posted: Tue Sep 01, 2020 1:39 pm
by serge_girard
Hello,

When uploading pictures sometimes a Buffer overrun error occurs.

Then I found this:

http://help.cognex.com/Content/KB_Topi ... 005.htm

Suggesting this:
This error indicates that an image was taken, but could not be placed in memory due to a lack of space for it. FTP and Image Processing share image buffers in the reader's memory, and Single or Burst trigger modes require some additional buffers to be available for Image Processing.

You may need to decrease the maximum number of buffers available for FTP image queuing when using these trigger modes. If you continue to get the Buffer Overflow errors after decreasing the number of buffers allocated to FTP, then it is likely that you are triggering the DataMan faster than the images that it takes can be processed
Then I found this piece of code:

Code: Select all

::nDefaultSndBuffSize := 65536
Is this parameter to be decreased or what?

Thx, Serge

Re: FTP Buffer overrun

Posted: Tue Feb 02, 2021 1:42 pm
by serge_girard