PDA

View Full Version : How to Load ICCF File Dynamically?



sethupathy
December 11, 2015, 10:08:08
I am using DFK 31BF03 with windows 10, I am facing problem with loading ICCF File. How can I load a ICCF file dynamically?
I tried with
LoadDeviceStateFromFile(“File Path”,true); and
LoadDeviceState(“File Path”,true);
But properties are not updated, every time the property values (Exposure, Trigger, etc...)Got changed.
How to set the camera parameters dynamically?
Dynamically is it possible to control all the parameters?

Stefan Geissler
December 11, 2015, 12:04:26
Hello

The iccf file has a different fromat, that the xml format expected by LoadDeviceStateFromFile()

Simple way: create the XML file with SaveDeviceStateToFile.


How to set the camera parameters dynamically?
It is shown in the documentation:
http://www.theimagingsource.com/en_US/support/documentation/icimagingcontrol-activex/tech_VCDProperties.htm

Dynamically is it possible to control all the parameters?
Yes.

Refaeliadria
May 4, 2016, 11:50:47
The ICCF file of IC Capture contains also the XML content, which is created by the IC Imaging Control function "SaveDeviceState". There is the corresponding function "LoadDeviceState" (There are also the one with "toFile" and "FromFile" extension.) HOwever these functions won't handle the ICCF file, because the ICCF embedds the XML from these functions and contains a lot of more information.