2.5   I/O Interfaces

HALCON provides interfaces for several I/O devices to enable data acquisition. These interfaces are available as dynamically loadable libraries (Windows: DLLs; Unix-like systems: shared libraries). Library names start with the prefix hio; the libraries ending with the suffix xl are used by HALCON XL.

The HALCON I/O device interfaces provide unified access to different I/O devices using a small set of operators. After you have installed your I/O device, a connection is established using the operator open_io_device, specifying the name of the I/O device interface and, optionally, some device-specific parameters. Once the connection is established, a transmission channel can be opened by calling open_io_channel. To read and write values on this channel, use the operators read_io_channel and write_io_channel, respectively.

Please note that the HALCON I/O device interfaces may change more frequently than the HALCON library itself. You can find the latest information together with downloadable interfaces (including documentation) under https://www.mvtec.com/products/interfaces. Please also refer to the I/O Device Interface Reference for a full list of supported I/O device interfaces.