FTP Buffer overrun

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
serge_girard
Posts: 3308
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

FTP Buffer overrun

Post 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
There's nothing you can do that can't be done...
User avatar
serge_girard
Posts: 3308
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: FTP Buffer overrun

Post by serge_girard »

There's nothing you can do that can't be done...
Post Reply