123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- #include "include/HbiFpd.h"
- //typedef int (__stdcall *API_HBI_InitDual)(void** handle1, void** handle2);
- //typedef int (__stdcall *API_HBI_InitEx)(HBI_HANDLE* pHandArr, int nArrSize);
- //typedef void (__stdcall *API_HBI_DestroyEx)();
- //typedef void* (__stdcall *API_HBI_GetDetectorHandle)(int fpdid);
- //typedef int (__stdcall *API_HBI_GetDetectorId)(void* handle);
- //typedef int (__stdcall *API_HBI_ActivateDetector)(void* handle);
- typedef void* (__stdcall *API_HBI_Init)(int fpdid);//初始化
- typedef void (__stdcall *API_HBI_Destroy)(void* handle);//释放
- typedef int (__stdcall *API_HBI_ConnectDetector)(void* handle, COMM_CFG commCfg, int doOffsetTemp);//连接探测器
- //typedef int (__stdcall *API_HBI_ConnectDetectorUdp)(void* handle, char* szDetectorIp, unsigned short usDetectorPort, char* szlocalIp, unsigned short usLocalPort, int doOffsetTemp);//有线标准UDP
- //typedef int (__stdcall *API_HBI_ConnectDetectorJumbo)(void* handle, char* szDetectorIp, unsigned short usDetectorPort, char* szlocalIp, unsigned short usLocalPort, int doOffsetTemp);//有线标准UDP JUMBO
- //typedef int (__stdcall *API_HBI_ConnectDetectorWlan)(void* handle, char* szDetectorIp, unsigned short usDetectorPort, char* szlocalIp, unsigned short usLocalPort, int doOffsetTemp);//有线标准UDP wireless
- //typedef int (__stdcall *API_HBI_ConnectDetectorPcie)(void* handle, int doOffsetTemp);//光口通信
- //typedef int (__stdcall *API_HBI_ConnectDetectorEx)(void* handle);
- typedef int (__stdcall *API_HBI_DisConnectDetector)(void* handle);//断开探测器的连接
- typedef int (__stdcall *API_HBI_RegEventCallBackFun)(void* handle, USER_CALLBACK_HANDLE_ENVENT handleEventfun, void* pContext);//注册回调
- //typedef int (__stdcall *API_HBI_ResetDetector)(void* handle);//重置探测器
- //typedef int (__stdcall *API_HBI_ResetFirmware)(void* handle);
- typedef int (__stdcall *API_HBI_GetFPDSerialNumber)(void* handle, char* szSn);//获取探测器序列号
- typedef int (__stdcall *API_HBI_GetSDKVerion)(void* handle, char* szVer);//获取SDK版本
- typedef int (__stdcall *API_HBI_GetFirmareVerion)(void* handle, char* szFirmwareVer);//获取探测器硬件版本
- typedef const char* (__stdcall *API_HBI_GetError)(const CodeStringTable* inTable, int count, int recode);//获取错误信息
- typedef int (__stdcall *API_HBI_GetFpdCfgInfo)(void* handle, RegCfgInfo* pRegCfg);//获取ROM参数 API_HBI_GetSysParamCfg
- //typedef int (__stdcall *API_HBI_GetDevCfgInfo)(void* handle, RegCfgInfo* pRegCfg);
- typedef int (__stdcall *API_HBI_GetImageProperty)(void* handle, IMAGE_PROPERTY* img_pro);//获取图像信息
- //typedef int (__stdcall *API_HBI_GetPreviewImageProperty)(void* handle, IMAGE_PROPERTY* img_pro);
- //typedef int (__stdcall *API_HBI_SinglePrepare)(void* handle);//单帧采集prepare(静态板)
- //typedef int (__stdcall *API_HBI_Prepare)(void* handle, EnumIMAGE_ACQ_CMD acqcmd);
- //typedef int (__stdcall *API_HBI_SingleAcquisition)(void* handle, FPD_AQC_MODE _mode);//单帧采集Start(静态板)
- typedef int (__stdcall *API_HBI_LiveAcquisition)(void* handle, FPD_AQC_MODE _mode);//可单帧采集,可连续采集
- typedef int (__stdcall *API_HBI_StopAcquisition)(void* handle);//停止连续采集
- //typedef int (__stdcall *API_HBI_SetSinglePrepareTime)(void* handle, int in_itime);//单帧采集时是否延时or调HBI_SinglePrepare和HBI_SingleAcquisition完成采集
- //typedef int (__stdcall *API_HBI_GetSinglePrepareTime)(void* handle, int* out_itime);
- //typedef int (__stdcall *API_HBI_SetLiveAcquisitionTime)(void* handle, int time);//设置采集时间间隔 进而设置采集帧率(静态平板)
- //typedef int (__stdcall *API_HBI_GetLiveAcquisitionTime)(void* handle, int* out_time);
- typedef int (__stdcall *API_HBI_SetSelfDumpingTime)(void* handle, int time);//设置采集时间间隔 进而设置采集帧率(动态平板)
- //typedef int (__stdcall *API_HBI_GetSelfDumpingTime)(void* handle, int* out_time);
- typedef int (__stdcall *API_HBI_TriggerAndCorrectApplay)(void* handle, int _triggerMode, IMAGE_CORRECT_ENABLE* pCorrect);//设置触发模式和固件图像校正使能
- typedef int (__stdcall *API_HBI_UpdateTriggerMode)(void* handle, int _triggerMode);//单独设置触发模式
- typedef int (__stdcall *API_HBI_UpdateCorrectEnable)(void* handle, IMAGE_CORRECT_ENABLE* pCorrect);//单独更新图像固件校正使能
- //typedef int (__stdcall *API_HBI_GetCorrectEnable)(void* handle, IMAGE_CORRECT_ENABLE* pCorrect);
- //typedef int (__stdcall *API_HBI_SetSoftwareCorrect)(void* handle, SOFTWARE_CALIBRATE_ENABLE inEnable);//设置软件校正使能
- //typedef int (__stdcall *API_HBI_GetSoftwareCorrect)(void* handle, SOFTWARE_CALIBRATE_ENABLE* inEnable);
- //typedef int (__stdcall *API_HBI_SetAedIntegrateTm)(void* handle, int time);//设置AED积分时间
- //typedef int (__stdcall *API_HBI_GetAedIntegrateTm)(void* handle, int* out_time);
- //typedef int (__stdcall *API_HBI_SetAedThreshold)(void* handle, int in_ivalue);//设置AED阈值
- //typedef int (__stdcall *API_HBI_GetAedThreshold)(void* handle, int* out_ivalue);
- //typedef int (__stdcall *API_HBI_SetSaturationValue)(void* handle, int in_ivalue);//设置饱和值
- //typedef int (__stdcall *API_HBI_GetSaturationValue)(void* handle, int* out_ivalue);
- //typedef int (__stdcall *API_HBI_SetClippingValue)(void* handle, int in_ivalue);//设置图像剪裁值
- //typedef int (__stdcall *API_HBI_GetClippingValue)(void* handle, int* out_ivalue);
- //typedef int (__stdcall *API_HBI_SetPGALevel)(void* handle, int nGainLevel);//设置增益挡位,即设置可编程积分电容档位,提高灵敏度
- //typedef int (__stdcall *API_HBI_GetPGALevel)(void* handle);
- //typedef int (__stdcall *API_HBI_SetLPFLevel)(void* handle, int nLPFLevel);//设置低通滤波器档位参数
- //typedef int (__stdcall *API_HBI_GetLPFLevel)(void* handle);
- typedef int (__stdcall *API_HBI_SetBinning)(void* handle, unsigned int bin);//设置图像binning方式
- //typedef int (__stdcall *API_HBI_GetBinning)(void* handle, unsigned int* bin);
- //typedef int (__stdcall *API_HBI_SetPreviewMode)(void* handle, int inTriggMode, int inPreviewMode);//设置Preview预览或取消预览
- //typedef int (__stdcall *API_HBI_GetPreviewMode)(void* handle, int* outMode);
- //typedef int (__stdcall *API_HBI_SAecModeApply)(void* handle, int inPreviewMode, int inPerTime, int inPostTime);
- //typedef int (__stdcall *API_HBI_SAecAcq)(void* handle);
- //typedef int (__stdcall *API_HBI_RegProgressCallBack)(void* handle, USER_CALLBACK_HANDLE_PROCESS handleStatusfun, void* pObject);//固件升级时注册回调后可以收到消息
- typedef int (__stdcall *API_HBI_GenerateTemplate)(void* handle, EnumIMAGE_ACQ_CMD _mode, int bprevew);//快速生成校正模板
- //typedef int (__stdcall *API_HBI_DownloadTemplate)(void* handle, DOWNLOAD_FILE* downloadfile);
- //typedef int (__stdcall *API_HBI_DownloadTemplateEx)(void* handle, DOWNLOAD_MODE* downloadmode);
- //typedef int (__stdcall *API_HBI_DownloadTemplateByType)(void* handle, int infiletype);
- //typedef int (__stdcall *API_HBI_StopDownloadTemplate)(void* handle);
- //typedef int (__stdcall *API_HBI_UpgradeFirmware)(void* handle, char* binfile, int filetype);
- //typedef int (__stdcall *API_HBI_StopUpdateFirmware)(void* handle);
- //typedef int (__stdcall *API_HBI_Dumping)(void* handle);//清空指令
- //typedef int (__stdcall *API_HBI_GetSysParamCfg)(void* handle, int cmd, int type);//回读系统RAM/ROM参数,异步事件,参数在回调函数中反馈
- //typedef int (__stdcall *API_HBI_SetSysParamCfg)(void* handle, int cmd, int type, RegCfgInfo* pRegCfg);
- //typedef int (__stdcall *API_HBI_SetGigabitEther)(void* handle, EtherInfo* pEther);
- //typedef int (__stdcall *API_HBI_RetransMissPacket)(void* handle);
- //typedef int (__stdcall *API_HBI_RetransMissFrame)(void* handle);
- typedef int (__stdcall *API_HBI_IsConnect)(void* handle);//判断平板是否为连接状态
- typedef int (__stdcall *API_HBI_GetCurFPDStatus)(void* handle);//获取平板当前状态
- //typedef int (__stdcall *API_HBI_SetCapacity)(void* handle, unsigned int nframesize);//设置缓冲区容量(大小)
- //typedef int (__stdcall *API_HBI_SetRawStyle)(void* handle, bool bsave, bool bsingleraw);//设置是否保存图像以及图像文件形式(单帧文件、多帧文件)
- typedef int (__stdcall *API_HBI_SetAqcProperty)(void* handle, FPD_AQC_MODE _mode);//设置采集属性
- //typedef int (__stdcall *API_HBI_SetDebugMode)(void* handle, int mode);
- //typedef int (__stdcall *API_HBI_PcieSendBuff)(void* handle, ePCIE_WR_TYPE etype, long addr, unsigned char* szSndBuff, int nlen);
- //typedef int (__stdcall *API_HBI_PcieRecvBuff)(void* handle, ePCIE_WR_TYPE _type, long addr, unsigned char* szRcvbuff, int nlen);
- //typedef int (__stdcall *API_HBI_InitOffsetMode)(void* handle, CALIBRATE_INPUT_PARAM calibrate_param);//分步生成模板
- //typedef int (__stdcall *API_HBI_InsertOffsetMode)(void* handle, int group_id, char* filepath);
- //typedef int (__stdcall *API_HBI_ClearOffsetMode)(void* handle);
- //typedef int (__stdcall *API_HBI_GenerateOffsetTemp)(void* handle, int raw_num, int bprevew);
- //typedef int (__stdcall *API_HBI_InitGainMode)(void* handle, CALIBRATE_INPUT_PARAM calibrate_param);
- //typedef int (__stdcall *API_HBI_InsertGainMode)(void* handle, int group_id, char* filepath);
- //typedef int (__stdcall *API_HBI_ClearGainMode)(void* handle);
- //typedef int (__stdcall *API_HBI_GenerateGainTemp)(void* handle, int group_sum, int per_group_num, int bprevew);
- //typedef int (__stdcall *API_HBI_InitDefectMode)(void* handle, CALIBRATE_INPUT_PARAM calibrate_param);
- //typedef int (__stdcall *API_HBI_InsertDefectMode)(void* handle, int group_id, char* filepath);
- //typedef int (__stdcall *API_HBI_ClearDefectMode)(void* handle);
- //typedef int (__stdcall *API_HBI_GenerateDefectTemp)(void* handle, int group_sum, int per_group_num, int bprevew);
- //typedef char* (__stdcall *API_HBI_GetFileDirectory)(void* handle, HBI_FILE_TYPE filetype);
- //typedef char* (__stdcall *API_HBI_GetCurTempFileFullDirectory)(void* handle, int temptype);
- typedef int (__stdcall *API_HBI_IsBusyNow)(void* handle, int eventtype);//判断当前SDK是否正处理中,不允许当前操作
- //typedef int (__stdcall *API_HBI_SetCuttingImageRect)(void* handle, CuttingImageRect* roi);
- //typedef CuttingImageRect* (__stdcall *API_HBI_GetCuttingImageRect)(void* handle);
- //typedef FPD_MODE_LIST* (__stdcall *API_HBI_GetCurModeList)(void* handle);//获取当前探测器的采集模式列表
- //typedef int (__stdcall *API_HBI_UpdateModeList)(void* handle, FPD_MODE_LIST* modelist);
- //typedef FPD_MODE_DATA* (__stdcall *API_HBI_GetCurModeData)(void* handle);//获取当前采集模式的信息
- //typedef int (__stdcall *API_HBI_UpdateCurModeData)(void* handle, FPD_MODE_DATA* mode);
- //typedef int (__stdcall *API_HBI_UpdateModeData)(void* handle, FPD_MODE_DATA* mode, unsigned int id);
- //typedef FPD_MODE_DATA* (__stdcall *API_HBI_GetModeData)(void* handle, unsigned int id);
- //typedef unsigned int (__stdcall *API_HBI_GetModeListSize)(void* handle);
- //typedef int (__stdcall *API_HBI_GetCurModeID)(void* handle);
- //typedef int (__stdcall *API_HBI_SwitchUserMode)(void* handle, unsigned int modeid, FPD_MODE_DATA* PMODEDATA);
- //typedef int (__stdcall *API_HBI_ModeExists)(void* handle, FPD_MODE_DATA mode);
- //typedef bool (__stdcall *API_HBI_CheckCurtMode)(void* handle);
- typedef int (__stdcall *API_HBI_ModeCorrectTempalteEnable)(void* handle, unsigned int id, bool bEnable);//当前Mode项的校准模板生效或不生效
- typedef int (__stdcall *API_HBI_AllModeCorrectTempalteEnable)(void* handle, bool bEnable);
- //typedef int (__stdcall *API_HBI_SaveModeList2File)(void* handle, char* szPath);
- //typedef int (__stdcall *API_HBI_DownloadModeTemplate)(void* handle, DOWNLOAD_MODE_FILE downloadfile);
- //typedef int (__stdcall *API_HBI_DownloadModeTemplateByType)(void* handle, int intemptype);
- //typedef int (__stdcall *API_HBI_DownloadModeTemplateByIdAndType)(void* handle, unsigned int modeid, int intemptype);
- typedef int (__stdcall *API_HBI_GetCurModeTemplateStatus)(void* handle, int* nTempStatus);
- //typedef char* (__stdcall *API_HBI_GetCurrentCorrectFilePath)(void* handle, int tempType);
- //typedef int (__stdcall *API_HBI_DetectorPrimaryAuthor)(void* handle, char* pcode);
- //typedef int (__stdcall *API_HBI_DetectorSecondaryAuthor)(void* handle, char* pcode);
- //typedef int (__stdcall *API_HBI_DownloadImage)(void* handle, int beginnumber);//下载图像(无线平板)
- //typedef int (__stdcall *API_HBI_SetSleepState)(void* handle);//设置平板为休眠状态(无线平板)
- //typedef int (__stdcall *API_HBI_WakeUpFpd)(void* handle);
- //typedef int (__stdcall *API_HBI_EnableEmmcStorage)(void* handle, int nenable);
- //typedef int (__stdcall *API_HBI_ReflashBatteryStatusInfo)(void* handle);
- typedef int (__stdcall *API_HBI_GetBatteryStatusInfo)(void* handle, BATTERY_STATUS_INFO* pBatteryStatus);
- typedef int (__stdcall *API_HBI_TriggerBinningAcqTime)(void* handle, int triggerMode, unsigned char binning, int acqtime, int nfeedback);//设置触发模式、binning方式以及帧率(采集图像时间间隔)
- //typedef int (__stdcall *API_HBI_PgaBinningAcqTime)(void* handle, int nPgaLevel, unsigned char binning, int acqtime, int nfeedback);//设置PGA档位、binning方式以及帧率(采集图像时间间隔)
- //typedef int (__stdcall *API_HBI_TriggerPgaBinningAcqTime)(void* handle, int triggerMode, int nPgaLevel, unsigned char binning, int acqtime, int nfeedback);//设置触发模式、PGA档位、binning方式以及帧率(采集图像时间间隔)
- //typedef int (__stdcall *API_HBI_PgaAcqTime)(void* handle, int nPgaLevel, int acqtime, int nfeedback);//设置PGA档位、及帧率(采集图像时间间隔)
- //typedef int (__stdcall *API_HBI_SwitchNetTypeWlanMode)(void* handle, int nNetType, int nWlanMode);
- //typedef int (__stdcall *API_HBI_ReadPcieVersion)(void* handle, char* szVersion);
- //typedef int (__stdcall *API_HBI_GeneratePreviewTemplate)(void* handle, EnumIMAGE_ACQ_CMD _mode);
- //typedef int (__stdcall *API_HBI_SetImageRotateAndFlip)(void* handle, int nRotate, int nFlip);//旋转90°或镜像使能,默认先旋转后镜像
- //typedef int (__stdcall *API_HBI_Switch2Bit8Image)(void* handle, int nbit8, int nwindowwidth, int nwindowleveling);
- //typedef int (__stdcall *API_HBI_OpenTemplateWizard)(void* handle);
- //typedef int (__stdcall *API_HBI_ReadFromUserDdr)(void* handle, unsigned char* szRcvBuff, int* nlen);
- //typedef int (__stdcall *API_HBI_WriteToUserDdr)(void* handle, unsigned char* szSndBuff, int nlen);
- //typedef int (__stdcall *API_HBI_SetRoiMode)(void* handle, int nMode, int nfeedback);//非晶硅ROI区域设置函数
- //typedef int (__stdcall *API_HBI_SetZoomModeRect)(void* handle, CMOS_ZOOM_RECT stZoomRect, int nfeedback);
- //typedef int (__stdcall *API_HBI_SetCorrectFileDirectory)(void* handle, char* pUserDir);
- //typedef char* (__stdcall *API_HBI_GetCorrectFileDirectory)(void* handle);
- //typedef int (__stdcall *API_HBI_RestoreCorrectDefaultDirectory)(void* handle);
- //typedef int (__stdcall *API_HBI_SSGCTRegCallbackFunc)(void* handle, SSGCT_CALLBACK_FUNC callbackfun, void* pObject);
- //typedef int (__stdcall *API_HBI_SSGCTEnableMode)(void* handle, int nMode, int nGroups, int nPreGroup);
- //typedef int (__stdcall *API_HBI_SSGCTPrepare)(void* handle);
- //typedef int (__stdcall *API_HBI_SSGCTSingleShot)(void* handle);
- //typedef int (__stdcall *API_HBI_SSGCTGenerateTemplate)(void* handle);
- //typedef int (__stdcall *API_HBI_SSGCTDownloadTemplate)(void* handle, int infiletype);
- //typedef int (__stdcall *API_HBI_UpdateWirelessNetwork)(void* handle, EtherInfo ether);
- //typedef int (__stdcall *API_HBI_GetWirelessNetwork)(void* handle);
- //typedef int (__stdcall *API_HBI_UpdateWirelessSecurityKey)(void* handle, int wirelessmode, char* pkey, int nkeylen);
- //typedef int (__stdcall *API_HBI_UpdateSaveOption)(void* handle, SAVE_IMAGE saveimge);
- //typedef int (__stdcall *API_HBI_SetPacketIntervalTime)(void* handle, int in_itime);
- //typedef int (__stdcall *API_HBI_GetPacketIntervalTime)(void* handle, int* out_time);
- //typedef int (__stdcall *API_HBI_SetDummyParameter)(void* handle, int nDummyStartCol, int nDummyEndCol, int nDummyConstant);
- //typedef int (__stdcall *API_HBI_AutoWindowWidthWindowLevel)(void* handle, unsigned char* imgbuff, int* nbufflen, int nwidth, int nheight);
- //typedef int (__stdcall *API_HBI_UnRegProgressCallBack)(void* handle);
- //typedef int (__stdcall *API_HBI_SetUdpMtuPacketType)(void* handle, int npacketType);
- //typedef int (__stdcall *API_HBI_Rotate90AndFlip)(void* handle, unsigned char* imgbuff, int nbufflen, int* pnwidth, int* pnheight, int nClockwise, int nVertical);//图像旋转和镜像处理(仅适用于16位无符号类型图像数据,默认先旋转后镜像)
- //typedef int (__stdcall *API_HBI_ResetCorrectTemplate)(void* handle, int nTemplateType);//重置校准模板文件-旋转、镜像逆向处理并保存,一般在下载到固件前完成处理
- typedef int (__stdcall *API_HBI_IsExistsOfCurCorrectTemplate)(void* handle, int tempType);//根据模板类型判断当前模板文件是否存在
- //typedef int (__stdcall *API_HBI_GetCurZoomRect)(void* handle, unsigned int* pZoomLeft, unsigned int* pZoomTop, unsigned int* pZoomWidth, unsigned int* pZoomHeight);
- //typedef char* (__stdcall *API_HBI_GetCurrentCorrectFileName)(void* handle, int tempType);
- //typedef int (__stdcall *API_HBI_GetAPI_HBIUserCode)(void* handle, char* szUserCode);
- //typedef int (__stdcall *API_HBI_GetAPI_HBIProductCode)(void* handle, char* szProductCode);
- //typedef int (__stdcall *API_HBI_SetWorkModeOfComs)(void* handle, int nMode);
- //typedef int (__stdcall *API_HBI_GetWorkModeOfComs)(void* handle);
- //typedef int (__stdcall *API_HBI_GetMtuAndReceiveBuffers)(void* handle, unsigned long* mtusize, int* rcvsize);
- //typedef int (__stdcall *API_HBI_RetransmitPacketEnable)(void* handle, unsigned int nRetransmitted);
- //typedef int (__stdcall *API_HBI_SetFpsOfTime)(void* handle, unsigned int untimems, unsigned short ustimeus);
- //typedef int (__stdcall *API_HBI_SetFirmwareOverlay)(void* handle, unsigned int noverlaynum);
- //typedef int (__stdcall *API_HBI_RetransMissFrameEx)(void* handle, unsigned int frameid);
- //typedef int (__stdcall *API_HBI_TriggerPgaBinningAcqTimeCorrect)(void* handle, int triggerMode, int nPgaLevel, unsigned char binning, int acqtime, IMAGE_CORRECT_ENABLE* pCorrect);//设置触发模式、PGA档位、binning方式以及帧率(采集图像时间间隔)、矫正使能
- typedef void (__stdcall *API_HBI_SetLogSwitch)(bool bwrite);//日志开关
- //typedef int (__stdcall *API_HBI_RetransMissPacketEx)(void* handle, unsigned int frameid, unsigned int startpackagenum, unsigned int endpackagenum);
- //typedef int (__stdcall *API_HBI_FirmwareReset)(void* handle);
- //typedef int (__stdcall *API_HBI_FirmwareManagementTempalteType)(void* handle, unsigned int uType);
- //typedef int (__stdcall *API_HBI_SetValidModeItemNumber)(void* handle, unsigned int uNumber);
- //typedef int (__stdcall *API_HBI_MUpdateTriggerMode)(void* handle, int _triggerMode);//设置触发模式
- //typedef int (__stdcall *API_HBI_MSetBinning)(void* handle, unsigned int ubinning);
- //typedef int (__stdcall *API_HBI_MSetPGALevel)(void* handle, int nGainLevel);
- //typedef int (__stdcall *API_HBI_MSetRoiMode)(void* handle, int nMode, int nfeedback);
- //typedef int (__stdcall *API_HBI_MSetZoomModeRect)(void* handle, CMOS_ZOOM_RECT stZoomRect, int nfeedback);
- //typedef int (__stdcall *API_HBI_MSetSelfDumpingTime)(void* handle, int time);
- //typedef int (__stdcall *API_HBI_MSetLiveAcquisitionTime)(void* handle, int time);//设置采集时间间隔(即可设置帧率)(静态平板)
- //typedef int (__stdcall *API_HBI_MSetSinglePrepareTime)(void* handle, int in_itime);
- //typedef int (__stdcall *API_HBI_MSetFpsOfTime)(void* handle, unsigned int untimems, unsigned short ustimeus);
- //typedef int (__stdcall *API_HBI_MPgaAcqTime)(void* handle, int nPgaLevel, int acqtime, int nfeedback);
- //typedef int (__stdcall *API_HBI_MPgaBinningAcqTime)(void* handle, int nPgaLevel, unsigned char binning, int acqtime, int nfeedback);
- //typedef int (__stdcall *API_HBI_MTriggerAndCorrectApplay)(void* handle, int _triggerMode, IMAGE_CORRECT_ENABLE* pCorrect);
- //typedef int (__stdcall *API_HBI_MTriggerBinningAcqTime)(void* handle, int triggerMode, unsigned char binning, int acqtime, int nfeedback);
- //typedef int (__stdcall *API_HBI_MTriggerPgaBinningAcqTime)(void* handle, int triggerMode, int nPgaLevel, unsigned char binning, int acqtime, int nfeedback);
- //typedef int (__stdcall *API_HBI_MTriggerPgaBinningAcqTimeCorrect)(void* handle, int triggerMode, int nPgaLevel, unsigned char binning, int acqtime, IMAGE_CORRECT_ENABLE* pCorrect);
- typedef bool (__stdcall *API_HBI_IsMutilMode)(void* handle);//查询当前固件是否支持多Mode(多Mode方式本质是固件对模板的管理方式不同)
- //typedef int (__stdcall *API_HBI_SetTICOFImageType)(void* handle, unsigned int nImageType);
- //typedef int (__stdcall *API_HBI_ImportCfgFile2Detector)(void* handle, int cmd, char* cfgfile);
- //typedef int (__stdcall *API_HBI_ExportDetectorCfg2File)(void* handle, int cmd, char* cfgfile);
- //typedef int (__stdcall *API_HBI_InitDetectorParams)(void* handle, DETECTOR_INIT_PARAMS param);//初始化平板探测器基础参数
- //typedef int (__stdcall *API_HBI_UpdateFPDSerialNumber)(void* handle, char* szSn);
- //typedef int (__stdcall *API_HBI_WindowWidthWindowLevel)(void* handle, unsigned char* imgbuff, int* nbufflen, int nwidth, int nheight, int nWindow, int nLeveling);
- //typedef int (__stdcall *API_HBI_WaitForReadyStatus)(void* handle, unsigned int tm);//等待平板ready状态
- //typedef int (__stdcall *API_HBI_SetSelfDumpingTimeEx)(void* handle, unsigned int untimems, unsigned short ustimeus);//平板自清空时间设置(增加了微妙)
- //typedef int (__stdcall *API_HBI_RestartPcieDevice)(void* handle);
|