I did not know there was an 'get_exp_count()'... thats clever!
Being able to pull the histogram is also cool.
I am asking more out of curiosity. The problem I am having is related to manual focus on the S100.
I wanted to work around two limitations the S100 had when trying to take night photos. The first is not going about 16", the second is forcing ISO 80 at anything about 1".
So, I do the usual:
- Set the av96 and sv96 (wide open and usually 200 or 400)
- half_press, sleep a bit (useful to make sure camera is stead too!)
- get the bv96
- release half_press (I have to do this or else the set_tv96_direct does not work)
- use the bv96 and my settings to compute the real tv96
- set the all the exposure values
- shoot() or click shoot_full or click shoot_full_only
This works great. The problem is, I often forget to set the manual focus and focus to infinity (and so sometimes the release happens before it is done focusing, so the exposure values are just some default).
So, I want to force manual focus and infinity focus in the script. But it just does not seem to work on the S100.
I tried so many different orders, combinations, placements of set_prop(6,4), set_prop(65, -1), set_aflock(1), set_focus(65535), click/press/release/etc in the script ... and I did not keep track
... so I need to start over. (Sympathy grab: I did about 50 SD card ejects, script updates, card inserts... and then realized I should have kept track instead of brute forcing and trying lots of things).
set_prop(6,4) and set_prop(65, -1) seem 'correct' because I can set the camera to manual focus and do get_props on them and I get those values (and they change when I change the settings).
I have looked at many other scripts, but most of them do a half_press, and loop until they've got focus, then aflock (I have this in a intervaolmeter script). I want to set the focus and aflock before any presses. Or just force manual focus and not have the camera even try.
TL;DR -> just whining and letting off steam
... I'll get it working eventually.
EDIT: so I guess my question is, how do I debug why the set props are not working. I've submitted a patch before to get the ring func button doing what it should... but this seems different.