mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 19:49:42 +08:00
修改:由于仪器通讯协议问题,atp曝光时间不能大于65s
This commit is contained in:
@ -589,12 +589,12 @@ int ZZ_ATPControl_Serial_Qt::PerformAutoExposure(float fMinScaleFactor, float fM
|
|||||||
bIsLastValueOverflow = bIsValueOverflow;
|
bIsLastValueOverflow = bIsValueOverflow;
|
||||||
fLastExposureTime = fTempExposureTime;
|
fLastExposureTime = fTempExposureTime;
|
||||||
|
|
||||||
if (iExposureTime > 120000)
|
if (iExposureTime > 65000)
|
||||||
{
|
{
|
||||||
bFlagIsAutoExposureOK = false;
|
bFlagIsAutoExposureOK = false;
|
||||||
bFlagIsAutoExposureFailed = true;
|
bFlagIsAutoExposureFailed = true;
|
||||||
float fPredictedExposureTime = 120000;
|
float fPredictedExposureTime = 65000;
|
||||||
iRes = SetExposureTime(120000);
|
iRes = SetExposureTime(65000);
|
||||||
if (iRes != 0)
|
if (iRes != 0)
|
||||||
{
|
{
|
||||||
// qDebug() << "Err:PerformAutoExposure Failed.Exit Code:3" << " Thread ID:" << m_iThreadID;
|
// qDebug() << "Err:PerformAutoExposure Failed.Exit Code:3" << " Thread ID:" << m_iThreadID;
|
||||||
|
Reference in New Issue
Block a user