Extendedshutterex; Flycap2Cameracontrol; Flycap2_Gtkmm - FLIR GRASSHOPPER 3 Series Technical Reference

Gige vision
Table of Contents

Advertisement

The program then starts the camera in custom image mode using parameters defined at the beginning of the code.
Calling SetFormat7Configuration () with these parameters is essentially the same thing as setting these
parameters in FlyCap and clicking "Apply". A number of images are grabbed in this custom image mode. The final
image is then color-processed and saved in .bmp format to disk.
Available for:
C++
n
C#
n
VB.NET
n
B.4

ExtendedShutterEx

The ExtendedShutterEx example program demonstrates how to enable and calculate extended integration times
for your camera. The way this is done can differ between cameras.
Many applications require extended shutter (integration) times up to several seconds long. Most FLIR machine
vision cameras implement extended shutter functionality in one of two ways:
1. By turning off the FRAME_RATE register 0x83C. This effectively stops the camera from transmitting
images at fixed frame intervals; the frame rate becomes dependent on the shutter time.
2. By enabling extended shutter via the EXTENDED_SHUTTER register 0x1028.
The program begins by initializing the first camera on the bus and uses GetProperty() to determine if it implements
the FRAME_RATE register. If it does, it turns the frame rate off. If the camera does not implement this register, the
program then checks to see if the camera implements the EXTENDED_SHUTTER register. If it does, it accesses
this register to put the camera into extended shutter mode. Otherwise, the user is notified that the camera does
not implement extended shutter and the program exits.
Once the camera is in extended shutter mode, it is started in the default mode and frame rate. A series of images
are grabbed, and their timestamps printed as a way of verifying that the extended shutter is working. 
B.5

FlyCap2CameraControl

The FlyCap2CameraControl is the source code to our main Control dialog that can be launched through the
Flycapture2GUI API. This source demonstrates all possible controls available in FlyCapture2 SDK.
Available for:
C#
n
B.6

FlyCap2_GTKmm

This example allows a user to select a camera to start, and then starts streaming images to screen. It is written
using C++ with the GTKmm graphical framework. There are options to modify camera settings and display a
histogram window. Images can be saved as a single image capture or multiple sequential images of various
formats. Data can be saved by specifying the number of frames to capture, the length of time, or an indefinite
stream where the user selects when to start and stop the camera recording. 
A single instance of FlyCap2_GTKmm can only run one camera. However, multiple applications can be run to
view different cameras. Simply select more than one camera when starting FlyCap2_ GTKmm. Note that the
number of active cameras is limited by the bandwidth of the bus.
2/10/2017
©2013-2017
FLIR Integrated Imaging
Solutions Inc. All rights reserved.
®
Grasshopper
3 PGE Technical Reference
B FlyCapture SDK Examples
95

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GRASSHOPPER 3 Series and is the answer not in the manual?

Table of Contents

Save PDF