1、添加ximea官方库的错误代码(以注释形式)到自己写的ximea相机控制类中;

2、修改相机状态码,兼容ximea官方库的错误代码;
This commit is contained in:
tangchao0503
2022-06-22 21:45:22 +08:00
parent b5a1da8ceb
commit fb2c9e1ea4
3 changed files with 89 additions and 19 deletions

View File

@ -68,7 +68,7 @@ public:
int getImagerState() const;
private:
//0:未打开;1:打开;2:设置帧率;3:自动曝光;4:正在采集; 21,未处理错误;22:RESOURCE_OR_FUNCTION_LOCKED;23,;
//0-61ximea官方错误代码99发生的ximea官方错误代码没有处理100未打开101打开102设置帧率103自动曝光104正在采集
int m_iImagerState;
int m_iImagerStateTemp;