khkigu
July 25, 2005, 09:02:26
Hello again,
following situation:
After changing the settings for the camera I save the props to file. When starting the application the settings should be loaded and the camera operate with them.
I tried both ways to save and load the settings, but neither works. I can save all settings by
.SaveDeviceStateToFile "cSettings.dat"
or using the long way
DevState=.SaveDeviceState
and save the string manually to file.
Checking the file after saving exposure shows different values, as expected,
i.E. when setting to 1/50 the value is 1.996999979019165e-002 (I checked several values).
Now the problem:
When loading the settings from file (.LoadDeviceStateFromFile or LoadDeviceState after reading the file manually) the exposure always sets to 1/16 while other settings are restored accurately, i.E. gain.
Please give a hint why that behaviour could happen.
Some technical information:
Camera used: DMK21BF04
OS: Win2000Pro SP4
Programming language: VB6 with IC ImagingControl 2.1
Thank you for your help,
Karl-Heinz
following situation:
After changing the settings for the camera I save the props to file. When starting the application the settings should be loaded and the camera operate with them.
I tried both ways to save and load the settings, but neither works. I can save all settings by
.SaveDeviceStateToFile "cSettings.dat"
or using the long way
DevState=.SaveDeviceState
and save the string manually to file.
Checking the file after saving exposure shows different values, as expected,
i.E. when setting to 1/50 the value is 1.996999979019165e-002 (I checked several values).
Now the problem:
When loading the settings from file (.LoadDeviceStateFromFile or LoadDeviceState after reading the file manually) the exposure always sets to 1/16 while other settings are restored accurately, i.E. gain.
Please give a hint why that behaviour could happen.
Some technical information:
Camera used: DMK21BF04
OS: Win2000Pro SP4
Programming language: VB6 with IC ImagingControl 2.1
Thank you for your help,
Karl-Heinz