更新lib文件以及调整相机反馈时间

main
seiyu 2 years ago
parent 637bbef357
commit 41fe0fff27

@ -79,7 +79,7 @@ void CaptureThread::process( void )
mvIMPACT::acquire::Statistics statistics( pDev_ );
mvIMPACT::acquire::Request* pRequest = 0;
mvIMPACT::acquire::Request* pPreviousRequest = nullptr;
const unsigned int timeout_ms = 200;
const unsigned int timeout_ms = 100;
Ready = true;
while( !boTerminated_ )
{

@ -112,7 +112,7 @@ void CaptureThreadBasler::process(void)
#endif
#endif
const unsigned int timeout_ms = 200;
const unsigned int timeout_ms = 100;
// This smart pointer will receive the grab result data.
Pylon::CGrabResultPtr ptrGrabResult;

@ -265,7 +265,7 @@ void CaptureThreadHIK::process( void )
while(!boTerminated_)
{
//nRet = MV_CC_GetOneFrameTimeout(CamHandle, g_pImage_buf, nDataSize, &stFrameInfo, 200);
nRet = MV_CC_GetImageForBGR(CamHandle, g_pImage_buf, nDataSize, &stFrameInfo, 200);
nRet = MV_CC_GetImageForBGR(CamHandle, g_pImage_buf, nDataSize, &stFrameInfo, 100);
if (MV_OK == nRet)
{
m_cntGrabbedImages++;

Binary file not shown.
Loading…
Cancel
Save