1.修改了GetDeviceAttribute函数中的一个瑕疵,即为执行GetDeviceAttribute函数后会影响谱仪的曝光时间,产生这个问题的原因是,设备无法直接获取像素个数,需要拍摄一帧数据,根据数据大小进行计算。拍摄时会设定为最短曝光时间。

2.IS2设备的SetExposureTime函数返回和IS1以及ISif设备不一致,实际不影响使用,但会导致程序返回函数调用失败。
This commit is contained in:
2022-02-17 14:19:31 +08:00
parent acdbd9e459
commit 28281519a2
2 changed files with 12 additions and 4 deletions

View File

@ -201,7 +201,7 @@ int ZZ_ATPControl_Serial_Qt::GetDeviceAttribute(DeviceAttribute &Attr)
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Call SetExposureTime error.Exit Code:2";
return 2;
//return 2;
}
iRes = SingleShot(m_daDeviceAttr.iPixels);
if (iRes != 0)