Point Grey Flea3 USB 3.0 Technical Reference Appendix A: Control and Status Registers
For example:
Offset Name Field Bit Description
704h ABS_CSR_HI_INQ_1 [0..31] Auto Exposure.
Base + 0h
ABS_VAL_AUTO_EXPOSURE
Min_Value [0-31] Min auto exposure value.
Base + 4h Max_Value [0-31] Max auto exposure value.
Base + 8h Value [0-31] Current auto exposure value.
A.4.3 Units of Value for Absolute Value CSR Registers
The following tables describe the real-world units that are used for the absolute value registers. Each value is either
Absolute (value is an absolute value) or Relative (value is an absolute value, but the reference is system dependent).
Feature Function Unit Unit Description Reference point Value Type
Brightness Black level offset % ---- Absolute
Auto Exposure Auto Exposure EV exposure value 0 Relative
Hue Hue deg degree 0 Relative
Saturation Saturation % 100 Relative
Shutter Integration time s seconds ---- Absolute
Gain Circuit gain dB decibel 0 Relative
Iris Iris F F number ---- Absolute
Trigger_Delay Trigger Delay S seconds ---- Absolute
Frame_Rate Frame rate fps frames per second ---- Absolute
A.4.4 Determining Absolute Value Register Values
The Absolute Value CSRs store 32-bit floating-point values with IEEE/REAL*4 format. To programmatically determine
the floating point equivalents of the minimum, maximum and current hexadecimal values for a property such as
shutter, using the FlyCapture SDK:
1. Read the ABS_CSR_HI_INQ_7 register 71Ch to obtain the 32-bit offset for the absolute value CSR for shutter.
cam.ReadRegister(context, 0x71C, &ulValue);
2. The ulValue is a 32-bit offset, so multiply by 4 to get the actual offset.
ulValue = ulValue * 4; // ulValue == 0x3C0244, actual offset == 0xF00910
This offset represents the offset from the base address 0xFFFF Fxxx xxxx. Since the PGR FlyCapture API automatically
takes into account the base offset 0xFFFF F0F0 0000, the actual offset in this example would be 0x910.
3. Use the offset obtained to read the min, max and current absolute values and convert the 32-bit hexadecimal
values to floating point.
// declare a union of a floating point and unsigned long
typedef union _AbsValueConversion
{
unsigned long ulValue;
Revised 9/27/2012
Copyright ©2011-2012 Point Grey Research Inc.
150