PDA

View Full Version : Obtaining values set by the "Auto" switch.



acanicio
March 9, 2008, 11:26:26
Hello all,

I'm using the ICImagingControl OCX in Delphi 5, and it is really working like a charm. Thank you for a clean and very performant component.

I'm able to use the VCDAbsoluteValueProperty and the VCDSwitchProperty to manually and automatically set the property values for exposure, gain and all other properties.

I'd like to retrieve the VCDAbsoluteValue.Value after having unset the VCDSwitch (i.e. from "Auto" mode to "Manual" mode).
I expected the value to be the one that the "Auto" mode actually calculated, but instead, in the "Value" property I'm getting the lowest value possible for the property, i.e. 9.9999997474e-05.

Is there a way to obtain the value that was calculated by the "Auto" mode ?

Thank you
Sincerely
Axel

Stefan Geissler
March 10, 2008, 09:31:32
Axel,

I am very sorry, but usually the values of parameters that run on automatic can not be obtained. If you receive a valid value, then this is ok. If you do not receive a valid value, the it is not available. This depends on the used video capture device and on the used drivers.

acanicio
March 10, 2008, 21:52:27
Dear Stefan,

Well, this seems to make the point clear ...

Thank you