Programming examples

Here, you can find programming examples to make a fast integration of the IDS industrial cameras easier.

Please note that registration or login is required to download the programming examples. Registration on the IDS website is free and gives you access to many useful additional functions, and detailed information about our products.

Protecting your privacy when it comes to storing and processing your personal data is extremely important to us. The data we ask you to provide for registration will not be passed onto third parties; your details will only be used for our own information and to optimize our services.

Multicast mode for GigE uEye cameras

This programming example demonstrates how to generally configure the multicast mode of IDS GigE uEye cameras and how to use the multicast feature as client.

Besides initialization and memory management, these are the main uEye API functions which are used in this source code example: is_GetSensorInfo(), is_DeviceInfo(), and is_Multicast().

uEye .NET C# - GPIO with master and slave cameras

This sample shows how to synchronize the image acquisition of two cameras by using the PWM (pulse width modulation) output of the master camera. Both cameras (master and slave) are running in hardware triggered mode (rising edge) and wait for a trigger signal on their GPIO 1 as trigger input. The trigger signal is generated by the PWM output on the GPIO 2 of the master camera.

Thus, the image acquisition of both cameras is done simultaneously.

uEye .NET C# - Image sequences

This sample shows how to acquire images in DIB-mode and put them into a sequence of image buffers. The sequence consists out of 10 buffers. The sample shows how to allocate the buffers, set them as active and add them to a sequence.

Besides this the sample shows how to read out the list of sequence IDs, convert them to memory IDs and read out those buffers (5 of 10).

uEye .NET C# - Text on bitmap image

This sample shows how to acquire images in DIB-mode and convert an image from a previously defined image memory into a bitmap, how to copy it into another bitmap and how to draw text and a bitmap into the image. This is done using the .NET System.Drawing.Graphics class.