Setting Gain Using The Flycapture Api; Setting Auto Exposure Using The Flycapture Api - FLIR GRASSHOPPER 3 Series Technical Reference

Gige vision
Table of Contents

Advertisement

prop.onOff = true;
//Ensure auto-adjust mode is off.
prop.autoManualMode = false;
//Ensure the property is set up to use absolute value control.
prop.absControl = true;
//Set the absolute value of shutter to 20 ms.
prop.absValue = 20;
//Set the property.
error = cam.SetProperty( &prop );
A.6

Setting Gain Using the FlyCapture API

The following FlyCapture code snippet adjusts gain to 10.5 dB using the C++ interface, and assumes a Camera
object cam.
//Declare a Property struct.
Property prop;
//Define the property to adjust.
prop.type = GAIN;
//Ensure auto-adjust mode is off.
prop.autoManualMode = false;
//Ensure the property is set up to use absolute value control.
prop.absControl = true;
//Set the absolute value of gain to 10.5 dB.
prop.absValue = 10.5;
//Set the property.
error = cam.SetProperty( &prop );
A.7

Setting Auto Exposure Using the FlyCapture API

The following FlyCapture code snippet adjusts auto exposure to - 3.5 EV using the C++ interface. The snippet
assumes a Camera object cam.
//Declare a Property struct.
2/10/2017
©2013-2017
FLIR Integrated Imaging
Solutions Inc. All rights reserved.
®
Grasshopper
3 PGE Technical Reference
A FlyCapture API Code Samples
89

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?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF