Thank you garry23, I have looked through some of your work and will definitely use it for inspiration for future projects!
Having used my script for some time now, I found there to be one major issue with the script in it's current state. For the auto-ISO value to be read out succesfully, the camera's metering needs to detect a change in light intensity (1) or the metering must be restarted (2). If neither of these events have taken place, attempting to read out the auto-ISO value will instead return 0.
E.g. a typical use-case of this script is described below. However the script will frequently choose a faulty ISO value when the scene you photograph is uniformly lit.
The reason the camera went back to ISO 800, was because it simply could not read out the ISO 640 value as determined by auto-ISO. Instead the script found the auto-ISO value to be 0.
Note that this only happens when the new scene you photograph is evenly or uniformly lit. If I would briefly place my hand in front of the lens and remove it again, then the metering of the camera would detect this change of light intensity and suddenly I would be able to read out the auto ISO value of 640. Also if I would wait about 5 seconds for my metering to stop, and then restart it again, would give me the correct value of 640.
I tried all sorts of things to fix this problem. But I am unable to do so. Tips or tricks are very much welcome! I wish I could write my own auto-ISO script, but that would require me to read out the camera's metering somehow. Which I think is impossible through Lua scripting as of now.
Having used my script for some time now, I found there to be one major issue with the script in it's current state. For the auto-ISO value to be read out succesfully, the camera's metering needs to detect a change in light intensity (1) or the metering must be restarted (2). If neither of these events have taken place, attempting to read out the auto-ISO value will instead return 0.
E.g. a typical use-case of this script is described below. However the script will frequently choose a faulty ISO value when the scene you photograph is uniformly lit.
- Let's say your camera has a fixed ISO of e.g. 800
- After making some photographs you want to photograph another (evenly lit) scene so you point your camera into that direction
- You now press the joystick to set the camera to AUTO-ISO
- You see through the viewfinder the camera settled on ISO 640 and you decide to lock this value, so you press the joystick again
- However the camera reverts back to ISO 800
The reason the camera went back to ISO 800, was because it simply could not read out the ISO 640 value as determined by auto-ISO. Instead the script found the auto-ISO value to be 0.
Note that this only happens when the new scene you photograph is evenly or uniformly lit. If I would briefly place my hand in front of the lens and remove it again, then the metering of the camera would detect this change of light intensity and suddenly I would be able to read out the auto ISO value of 640. Also if I would wait about 5 seconds for my metering to stop, and then restart it again, would give me the correct value of 640.
I tried all sorts of things to fix this problem. But I am unable to do so. Tips or tricks are very much welcome! I wish I could write my own auto-ISO script, but that would require me to read out the camera's metering somehow. Which I think is impossible through Lua scripting as of now.