12. read_class_mlp 功能:从一个文件中读取一个多层感知器。 13. read_samples_class_mlp 功能:从一个文件中读取一个多层感知器的训练数据。 14. train_class_mlp、 功能:训练一个多层感知器。 15. write_class_mlp 功能:向一个文件中写入一个多层感知器。 16. write_samples_class_mlp 功能:向一个文件...
set_serial_param (SerialHandle, 9600, 8, 'none', 'none', 1, 1000, 'unchanged') * Display a nice message on the terminal. write_serial (SerialHandle, ords('11,12,1')) * Now read 10 characters from the terminal... while(1) read_serial (SerialHandle, 2, Data) * ...and if th...
16.7 Serial 1. clear_ serial 功能:清除一个串行连接的缓冲。 2. close_ all_ serials 功能:关闭所有的串行设备。 3. close_ serial 功能:关闭一个串行设备。 4. get_ serial_ param 功能:获取一个串行设备的参数。 5. open_ serial 功能:打开一个串行设备。 6. read_ serial 功能:读取一个串行设备。
1 clear_serial() 清除一个串行连接的缓冲。 2 close_all_serials() 关闭所有的串行设备。 3 close_serial() 关闭一个串行设备。 4 get_serial_param() 获取一个串行设备的参数。 5 open_serial() 打开一个串行设备。 6 read_serial() 读取一个串行设备。 7 set_serial_param() 设置一个串行设备的参数...
USB全称是UniversalSerialBus(通用串行总线),USB接口是4“针”,其中2根为电源线、2根为信号线。USB是串行接口,可热拔插,连接方便。USB2.0,传输速度480Mbps,通讯距离5m,80%的带宽用于图像传输。USB3.0,传输速度4.8Gbps,通讯距离10m,80%的带宽用于图像传输。由于USB接口相机使用方便,接口广泛,目前在显微镜、科研实验...
serial connection */ #define H_ERR_WRSFC 5259 /* Wrong flow control for serial connection */ #define H_ERR_CNFS 5260 /* Could not flush serial port */ #define H_ERR_EDWS 5261 /* Error during write to serial port */ #define H_ERR_EDRS 5262 /* Error during read from serial...
read_region 功能:读取二值图像或者HALCON 区域。 2. write_region 功能:在文件中写入地域。 4.4 Text 1. close_all_files 功能:关闭所有打开的文件。 2.close_file 功能:关闭一个文本文件。 3. fnew_line 功能:创建一个换行符。 4. fread_char 功能:从一个文本文件中读取一个字符。 5. fread_line ...
read_cam_par 从文本文件中读取内部摄像机参数。write_cam_par 将内部摄像机参数写入文本文件。Hand-Eye---手眼hand_eye_calibration 执行手眼校准。Monocular---单眼camera_calibration 通过同时最小化过程确定所有摄像机参数。project_3d_point投影3d点到亚像素图像坐标Multi-View---多视角calibrate_cameras 校准一个...
open_serial 功能:打开一个串行设备。 read_serial 功能:读取一个串行设备。 set_serial_param 功能:设置一个串行设备的参数。 write_serial 功能:写入一个串行设备。 16.8 Sockets close_socket 功能:关闭一个插口(接口)。 get_next_socket_data_type 功能:决定下一个插口(接口)数据的HALCON数据类型。 get_socke...
Serial interface handle. Data(input_control)integer(-array)→(integer) Characters to write (as tuple of integers). If the parameters are correct and the write to the device was successful, the operatorwrite_serialreturns the value 2 (H_MSG_TRUE). Otherwise an exception is raised. ...