修改:由于仪器通讯协议问题,atp曝光时间不能大于65s

This commit is contained in:
2022-03-01 13:38:51 +08:00
committed by xin
parent 8674cda5b1
commit ca6a406670

View File

@ -589,12 +589,12 @@ int ZZ_ATPControl_Serial_Qt::PerformAutoExposure(float fMinScaleFactor, float fM
bIsLastValueOverflow = bIsValueOverflow;
fLastExposureTime = fTempExposureTime;
if (iExposureTime > 120000)
if (iExposureTime > 65000)
{
bFlagIsAutoExposureOK = false;
bFlagIsAutoExposureFailed = true;
float fPredictedExposureTime = 120000;
iRes = SetExposureTime(120000);
float fPredictedExposureTime = 65000;
iRes = SetExposureTime(65000);
if (iRes != 0)
{
// qDebug() << "Err:PerformAutoExposure Failed.Exit Code:3" << " Thread ID:" << m_iThreadID;