Programmer’s Guide#
The following guide illustrates the key functionalities of ItalaApiPython and gives an overview of its usage. For each functionality a code snippet is provided along with a description of the key concept behind it.
Warning
The code is written in a lean and minimal way to keep the focus on the usage without overloading the snippet with checks, exception handling and redundancy. It’s not recommended to ignore these practices in a real coding scenario.
Examples of a proper and more comprehensive usage of ItalaApiPython can be found in the Code samples section. The complete documentation of functions and classes can be found in the API Reference.
ItalaApi Architecture#
The API is composed of three main parts. The first one is a set of interfaces and classes for device enumeration and image acquisition. It runs above the transport layer, which follows the GenTL standard and it’s also available separately as a GenTL producer in .cti format. The second part is the GenApi implementation itself, used for device configuration. Lastly, a set of utilities is provided to support string conversions, RAII wrapping around Itala modules, defective pixel detection and other useful functionalities.

On top of this architecture the python wrapper has been developed, both Itala and GenApi are accessible from the module of ItalaApiPython.