odissey1
August 17, 2008, 00: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)
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)