Snap / Livepreview works fine in mvAcquireControl but shows black screen in mvIMPACT
mvDELTA, mvGAMMA-G, mvIMPACT Go!, mvIMPACT S, mvIMPACT SDK, mvSIGMA-SLC, mvSIGMA-SLG, mvSIGMA-SQ, mvTITAN-C16, mvTITAN-C8, mvTITAN-CL, mvTITAN-DIG, mvTITAN-G1, mvTITAN-RGB/G4, pcIMAGE-SC, pcIMAGE-SDIG, pcIMAGE-SG/SGVS, pcIMAGE-SRGB, mvAcquireControl
Here are two possibilities :
mvIMPACT-GO / S is using a double buffering by standard , i.e. to show a live preview or make a snapshot it needs
twice the amount of DMA buffer. Depending on your camera and capture settings , maybe the 4MB standard DMA buffer is not large enough.
The mvAcquireControl doesn"t use doublebuffer so a live preview and snapshot may work with less memory.
Raise the DMA buffer as follows :
With the pcIMAGE-SDIG , mvDELTA and mvSIGMA-Sx you can set the virtual DMA buffer in the .ini file as follows :
For example :
AllocFrameBuffer 0x400000L // this is 4MB per standard (in hexadecimal)
or the physical DMA buffer with the following entry :
Afterwards you can define the size of the pyhsical buffer with the SetDMA.exe utility ,except in Windows 9x, which can be found in %WINDOWSROOT%Matrix.
All other grabber can only use the physical DMA buffer.
A very small SnapTimeOut value has been set, e.g. 1 ms.
With this setting the mvAcquireControl seems to work without problems, but in mvIMPACT-GO / S only black images appear because
the function returns with a timeout.
You must set the SnapTimeOut to a higher value.
Standard setting is 500 ms.