GenICam_SDK.docx 8
3 Getting started
This chapter will describe the basic functions/sequences needed to handle the basic
functionality of the camera.
Ready to use-Examples are also shipped with the SDK in order to demonstrate the usage of the
SDK regarding getting/setting features and acquiring images.
3.1 Initialization of the SDK
Before accessing any other functions of the SDK, an initialization needs to be done.
Please refer to 4.1 Init/Deinit-functions for the detailed description of the function csiInit.
After finishing the work with the SDK make sure to call the csiClose function. This makes
sure that all memory is freed again, and all connections/interfaces are properly closed again
3.2 Connecting to a camera
The use of the Chromasens Gen<I>CAM-SDK enables the user to use different transport layers
and interfaces for the available devices.
Depending on the requirements for your application these transport layers can be selected
during the device discovery process.
It is possible to use the standard search paths for the already installed transport layers.
These paths are set in the environmental variable “GENICAM_GENTL64_PATH”or for 32Bit-
applications: “GENICAM_GENTL32_PATH”.
This is the default behavior. To reduce the time needed for the discovery process a specific path
can be given. The search can also be limited to this single path when the
overrideSearchPath is set.
To establish a connection, you will need to call 2 functions:
csiDiscoverDevices and csiOpenDevice. Detailed information regarding the functions
can be found here: 3.2 Connecting to a camera