PDA

View Full Version : Exposure Absolute Value in Delphi



odissey1
August 17, 2008, 01:12:07
Hi,

I am trying to extract absolute values from the DFK 41F02 camera using Delphi code (below). While VCDRangeProperty is extracted without any problems, the VCDExposureAbsolute is empty (nil). Is this some unfortunate camera when the absolute values are not available directly?

Source:

var
VCDExposureAbsolute: VCDAbsoluteValueProperty;
ExpRange: VCDRangeProperty;

const
VCDID_Exposure = '{90D5702E-E43B-4366-AAEB-7A7A10B448B4}';
VCDElement_Value = '{B57D3000-0AC6-4819-A609-272A33140ACA}';
VCDInterface_AbsoluteValue = '{99B44940-BFE1-4083-ADA1-BE703F4B8E08}';

begin

VCDExposureAbsolute:=VCDAbsoluteValueProperty(ICIm agingControl1.VCDPropertyItems.FindInterface(
VCDID_Exposure+':'+VCDElement_Value+':'+VCDInterfa ce_AbsoluteValue));

if VCDExposureAbsolute<>nil then
LogD( 'VCDExposureAbsolute<>nil' );

VCDExposureRange := VCDRangeProperty(ICImagingControl1.VCDPropertyItem s.FindInterface(
VCDID_Exposure+':'+VCDElement_Value+':'+VCDInterfa ce_Range));

if VCDExposureRange<>nil then
LogD( 'VCDExposureRange<>nil' );

end;


Sincerely,
odissey1

Environment:
WinXP SP2, Delphi7
camera: DFK 41F02,
WDM driver: icwdmdcamtis of 12.14.07 (latest available)
The Imaging Control ActiveX v.3.0.3 (old stuff)

odissey1
August 17, 2008, 01:16:42
there are no spaces in 'VCDInterface_AbsoluteValue' and 'VCDInterface_Range'.

Sascha Schmidt
August 18, 2008, 12:23:49
Hallo,

The DFK 41F02 does only support the 'Range' and the 'MapStrings' interface.
Unfortunately 'AbsoluteValue' is not supported by this camera model.

odissey1
August 18, 2008, 21:46:03
Hi,
Does DFK 41AF02, DFK 41BF02 models support 'AbsoluteValue'?
odissey1

Sascha Schmidt
August 19, 2008, 11:49:21
Yes, this camera models support the 'AbsoluteValue' - interface.