Version 2.4 of the Linux SDK includes the following sample programs:


  • autoExposure - Program that shows, in general, how to work with camera features that support 'auto adjustment'. More specifically, this program will interact with the cameras exposure control.

  • autoWhiteBalance - Performs an auto white balance for the cameras, while providing 'audience' to the algorithm, on where to find a white area in the image.

  • callback - A simple application demonstrating how to setup/use callbacks.

  • captureOEMLite - A GUI based application that controls many different camera features.  It is built using Glade and GTK+3.

  • captureOEM - A more complete GUI based application that controls many different camera features. It is built using Glade and GTK+3. 

  • commitSettingsAsDefault - A utility program that will commit a cameras settings to non volatile memory on the camera.

  • exposureAdjustment -This sample application was written to work with the 'BareBones' variant of the PixeLINK API. That is a pre-production version of the PixeLINK API that had much reduced functionality. This application will work with the full PixeLINK API, but new development should use the much more comprehensive features of the full API to interact with the camera.

  • fastMotionVideo - Demonstrates how to create videos using the Pixelink API. Specifically, videos that play back normal motion to fast motion.

  • getCameraFeature - Demonstrates how to get some information about a camera feature.

  • getCameraInfo - Demonstration of a trivial interaction with the PixeLINK API. It simply displays information on attached cameras.

  • getHDRSnapshot - Simple program to find and stream an HDR camera, using a robust frame grab algorithms, it collects images from the HDR camera and saves them to files.

  • getMultipleSnapshots - Simple program to find and stream a camera, using a robust frame grab algorithms, it collects images from the camera and saves them to files.

  • getNextFrame - Simple program to find and stream a camera, using a robust frame grab algorithms.

  • getPolarSnapshot - Simple program to find and stream a polar camera, using a robust frame grab algorithms, it collects and saves four images from the polar camera, where each image represents each of the 4 polar channels.

  • getSnapshot - A 'C' sample code to capture images from a Pixelink camera and save the encoded images to a variety of file types. 

  • gpio - Demonstrates how to control a camera's general purpose input (gpi), and general purpose output (gpo).

  • lowUsbMemory - Shows how to accommodate systems with sub-optimal amount of memory allocated for USB buffering. 

  • measureCallbackRate - Sample code to show how to create a simple callback. This program simply calculates the frame rate of the camera (via callbacks). 

  • measureGetNextFrameRate - Sample code to show a very simple frame grab. The sample application 'getNextFrame' for a more robust frame grab example. This program simply calculates the frame rate of the camera (via frame grabs). 

  • multiCameraPreview - Shows all connected Pixelink cameras, and allows you to independently preview each of the camera's preview - Finds a camera, and starts the stream with preview. 

  • openCVSnapshot - Demonstrates how to capture a camera image that can be 'imported' into openCV. 

  • preview - A simple application that previews the camera. 

  • recoverCamera - Demonstrates how to 'fully initialize' a camera.  That is, to connect to a camera in an unknown state, and to initialize the camera so that it is in a known, default state.

  • saveSettings - Demonstrates how to save camera settings to non-volatile storage, as well as how to restore the camera settings back to factory default values. 

  • setPreviewSettings - Previews the camera, and demonstrates how to make adjustments to the preview window, as well as some camera settings that affect the camera's preview. 

  • simpleGUI - Uses Glage and GTK+3 to create a simple GUI based camera application. 

  • slowMotionVideo - This demonstrates how to create videos using the PixeLINK API.  Specifically, this application will create videos that play back normal motion, to slow motion. 

  • softwareTriggerWithCallback - A demonstration of a special software triggering mode. See 'trigger' sample program for the more typical use of software triggering. 

  • triggering - A simple example of the use of the two triggering types: software & hardware. 

  • whiteBalance - Demonstrates how you can control the white balance on a (color) camera. Furthermore, it also can instruct the camera to perform manual color adjustments, as well as automatic white balance. 


This version of the SDK also includes the following utility programs:


  • captureOEM - A GUIE (Gnome) based application that allows you to control a number of the camera features, similar to the CaptureOEM application for Windows. The source code is also provided in samples/captureOEM. 

  • PxLVisionAccess - This is a command line utility that allows a user to 'peek' and 'poke' at specific registers within the camera, allow you to query and/or set, specific camera features. This utility should only be used with consultation with Pixelink.