Example: Setting Shutter Using The Flycapture Api - Point Grey Flea3 FL3-U3 Technical Reference Manual

Usb 3.0 digital camera
Table of Contents

Advertisement

Point Grey Flea3 USB 3.0 Technical Reference
Fixed-point
Value Range
2049 to 2560
...
Format:
Field
Presence_Inq
Abs_Control
One_Push
ON_OFF
A_M_Mode
High_Value
Value
7.9.3

Example: Setting Shutter Using the FlyCapture API

The following FlyCapture 2.0 code snippet adjusts the shutter speed to 20 ms using the C++ interface. The snippet
assumes a Camera object cam.
//Declare a Property struct.
Property prop;
//Define the property to adjust.
prop.type = SHUTTER;
//Ensure the property is on.
prop.onOff = true;
Revised 9/27/2012
Copyright ©2011-2012 Point Grey Research Inc.
Equivalent Absolute
Value Unit
80 us
...
Bit
Presence of this feature
[0]
0: Not Available, 1: Available
Absolute value control
[1]
0: Control with the Value field, 1: Control with the Absolute value CSR.
If this bit = 1, the value in the Value field is ignored.
[2-4]
Reserved
One push auto mode (controlled automatically by camera only once)
Read:  0: Not in operation, 1: In operation
[5]
Write: 1: Begin to work (self-cleared after operation)
If A_M_Mode = 1, this bit is ignored
Read: read a status
Write: ON or OFF for this feature
[6]
0: OFF, 1: ON
If this bit = 0, other fields will be read only
Read: read a current mode
Write: set the mode
[7]
0: Manual, 1: Automatic
Upper 4 bits of the shutter value available only in extended shutter mode
[8-19]
(outside of specification).
Value.
[20-31]
A write to this value in 'Auto' mode will be ignored.
7 Imaging Parameters and Control
Equivalent Absolute
Value Range
41.04 ms to 81.92 ms
...
Description
113

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents