omron — Using Sentech STC-M Cameras with AutoVISION and VISIONSCAPE – Supplemental User Guide (EN)

Preventing Computer Sleep As noted at the beginning of this document, the PC should be regarded as a Vision System, not an IT controlled device. As such, it is recommended that the user edits the power options settings in the control panel to prevent the PC from going to sleep or locking the screen which can interrupt vision system processing during runtime. Making .NET Visionscape Programs Large Address-Aware Many of the GigE cameras have large sensors which will require large amounts of memory for the image Allocating Additional Windows Resources for Complex Visionscape Jobs Very large or complex Visionscape jobs can cause Windows to run out of resources such as GDI object and handles.

Windows defaults to allow 10,000 of each of these objects. This number can be increased in the registry to prevent any runtime issues. Evidence of this issue can be seen by using the Task Manager when running a job, and viewing the GDI object count. If it approaches 10000, then the following steps should be taken. If this occurs, you may go into the registry and change the following two values:  USERProcessHandleQuota should be raised from 10,000 decimal to 18,000 decimal.  GDIProcessHandleQuota should be raised from 10,000 to at least 20,000 decimal. Each can be set as high as 60,000 if required. Restart the computer for these settings to take effect.

Using Sentech STC-M Cameras with AutoVISION and Visionscape Page 30 of 32 made “large address aware.” When a 32-bit application is large address aware, it can access up to 4 GB rather than be limited to 2G. Instructions for setting your application to large address aware either explicitly, or when compiling can be found on the web.