四、C#联合Halcon实现外部触发回调函数采集图像 1HalconDotNet.HalconAPI.HFramegrabberCallback delegateCallback;//定义回调函数委托234//开启相机5HOperatorSet.OpenFramegrabber("GigEVision2",0,0,0,0,0,0,"progressive",6-1,"default", -1,"false","default","Devin",70, -1,outhv_AcqHandle);8//下面...
//帧触发模式(获取开始采集的时间) HOperatorSet.SetFramegrabberParam(AcqHandle,'FrameStartTriggerMode','On'); HOperatorSet.SetFramegrabberParam(AcqHandle,'grab_timeout',100); HOperatorSet.SetFramegrabberParam(AcqHandle,'LineSelector','Line1'); HOperatorSet.SetFramegrabberParam(AcqHandle,'LineFormat'...
四、C#联合Halcon实现外部触发回调函数采集图像 1HalconDotNet.HalconAPI.HFramegrabberCallback delegateCallback;//定义回调函数委托234//开启相机5HOperatorSet.OpenFramegrabber("GigEVision2",0,0,0,0,0,0,"progressive",6-1,"default", -1,"false","default","Devin",70, -1,outhv_AcqHandle);8//下面...
#define H_ERR_DL_MODEL_OPERATOR_UNSUPPORTED 7912 /* DL: Operator does not support model */ #define H_ERR_DL_MODEL_RUNTIME 7913 /* DL: Requested runtime cannot be set */ #define H_ERR_DL_MODEL_UNSUPPORTED_GENVALUE 7914 /* DL: Unsupported generic value(s) */ #define H_ERR_DL_MODE...
5. set_ check 功能:激活和钝化HALCON控制模式。 6. set_ spy 功能:HALCON调试工具的控制。 16.3 Information 1. get_ chapter_ info 功能:获取程序有关章节的信息。 2. get_ keywords 功能:获取指定给程序的关键字。 3. get_ operator_ info 功能:获取关于HALCON程序的信息。 4. get_ operator_ name 功...
set_check功能:激活和钝化HALCON控制模式。set_spy功能:HALCON调试工具 63、的控制。Informationget_chapter_info功能:获取程序有关章节的信息。get_keywords功能:获取指定给程序的关键字。get_operator_info功能:获取关于HALCON程序的信息。get_operator_name功能:获取由给定字符串作为它们的名字的程序。get_param_info...
See set_operator_timeout and interrupt_operator on how to use and set these interrupt modes. 'alternatives': Alternative operators (optional). 'see_also': Operators containing further information (optional). 'predecessor': Possible and sensible predecessor 'successor': Possible and sensible ...
HOperatorSet.SetFramegrabberParam(AcqHandle,"grab_timeout",100); HOperatorSet.SetFramegrabberParam(AcqHandle,"LineSelector","Line1"); HOperatorSet.SetFramegrabberParam(AcqHandle,"LineFormat","TTL"); HOperatorSet.GrabImageStart(AcqHandle, -1); ...
Note that if the shape model ModelID was read from file and if this file should be changed as well, the shape model ModelID must again be written to file after the execution of the operator set_shape_model_param. 'timeout' Sets the maximum runtime of the operators used to find the ...
5. set_ check 功能:激活和钝化HALCON控制模式。 6. set_ spy 功能:HALCON调试工具的控制。 16.3 Information 1. get_ chapter_ info 功能:获取程序有关章节的信息。 2. get_ keywords 功能:获取指定给程序的关键字。 3. get_ operator_ info 功能:获取关于HALCON程序的信息。 4. get_ operator_ name 功...