Version 2.3 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.
  • 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. 
  • getNextFrame - 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. 
  • 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. 
  • 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:


  • captureOEMLite - 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.