EasyManua.ls Logo

Point Grey Flea3 FL3-U3 - Example: Setting Auto Exposure Using the Flycapture API

Point Grey Flea3 FL3-U3
173 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Point Grey Flea3 USB 3.0 Technical Reference 7 Imaging Parameters and Control
Offset Name Field Bit Description
1A70h AE_ROI_CTRL
Presence_Inq [0]
Presence of this feature
0:Not Available, 1: Available
[1-5] Reserved
ON_OFF [6]
Read: read a status
Write: ON or OFF for this feature
0: OFF, 1: ON
If this bit = 0, other fields will be read only
[7-31] Reserved
1A74h AE_ROI_OFFSET [0-31] 32-bit offset for the AE_ROI CSRs
Base + 0h AE_ROI_UNIT_POSITION_INQ
Hposunit [0-15] Horizontal units for position
Vposunit [16-31] Vertical units for position
Base + 4h AE_ROI_UNIT_SIZE_INQ
Hunit [0-15] Horizontal units for size
Vunit [16-31] Vertical units for size
Base + 8h AE_ROI_POSITION
Left [0-15] Left position of ROI
Top [16-31] Top position of ROI
Base + Ch AE_ROI_SIZE
Width [0-15] Width of ROI
Height [16-31] Height of ROI
Format:
7.10.3 Example: Setting Auto Exposure Using the FlyCapture API
The following FlyCapture 2.0 code snippet adjusts auto exposure to -3.5 EV using the C++ interface. The snippet
assumes a Camera object cam.
//Declare a Property struct.
Property prop;
//Define the property to adjust.
prop.type = AUTO_EXPOSURE;
//Ensure the property is on.
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 auto exposure to -3.5 EV.
prop.absValue = -3.5;
//Set the property.
error = cam.SetProperty( &prop );
Revised 9/27/2012
Copyright ©2011-2012 Point Grey Research Inc.
116

Table of Contents

Related product manuals