This application note shows how to acquire images with an IDS GigE Vision camera and the HALCON machine vision software. Because the HALCON installation brings its own GigE Vision compliant transport layer, it is not necessary using additional manufacturer specific software. Nevertheless, there are some advantages using the IDS Vision Suite with IDS GigE Vision cameras which the application note will mention.
Camera connection via HDevelop image acquisition assistantConfigurator
Start HDevelop and use the image acquisition assistant to open a connected IDS GigE Vision camera
In the ‘Source’ tab HALCON gives you the choice to connect cameras with different interfaces. When pressing ‘Auto-detect Interfaces’ (see Figure 2, No. 1) HALCON probes and lists only those interfaces in the dropdown list that correspond to your connected camera.
The HALCON installation includes an own GigE Vision interface library. (see Figure 2, No. 2) Using this HALCON GenTL (GenICam Tranport Layer), it’s not necessary to install any specific camera manufacturer software.
Open the IDS GigE Vision camera
With the ‘Connection’ tab you can choose a connected IDS camera. The device is represented with an ID which is composed of cameras MAC address and its device name (see Figure 4, No.2).
The device may be reported as misconfigured. In this case, the device icon will show this symbol:
If you select such a device, the assistant may suggest a generic parameter that potentially resolves the misconfiguration. (for example by using the ‘GtlForceIP’ parameter).
With pressing ‘Connect’, the camera will be opened. Then you are able to set additional camera parameter in the ‘Parameters’ tab or see a ‘Live’ preview of the camera.
Generate HALCON script to acquire images
With the ‘Code Generation’ tab you can generate HALCON script code for using the camera with chosen parameters in HDevelop for your machine vision project.
Generated HALCON code can look like this: