Quote from: ahull on 20 / November / 2013, 08:25:28As a matter of interest what method would you use to divide the frequency by a four-digit number (that is not a multiple of 2 or 10) ?A microcontroller ?
(has the precision "outlier" issue changed?)
For a fast sequential two stage flash capture to occur (see description here http://chdk.setepontos.com/index.php?topic=11667.msg118685#msg118685) it would be required to fire the flash very soon after the last shutter opened and then force all shutters to close asap thereafter in readiness for the second group of cams to open their shutters.
Should it (for a guru) be possible to provide a chdk menu item (no script) with purpose to mechanically force the shutter to close (if the cam has a mechanical shutter and it is open) when the usb goes back to 0V (or at a menu setable time from when the 5V is first detected).
I assume you actually mean this post : http://chdk.setepontos.com/index.php?topic=8810.msg118515#msg118515 ?
It's possible. But it seems unlikely to be something that would get added to the autobuild for general distribution so a custom build would be needed (with all the issues that entails for support long term).However, if you remove the (no script) qualifier, from what I understand in your post you may very well be able to do it with a variant of either of the ptp scripts you mentioned. Using call_event_proc("CloseMechaShutter") as discussed here (meteor.lua) it should be fairly simple to force the shutter closed (but this would have to be tested) a fixed time after the script sees the USB go to 0V. I would expect Lua to be able to do this with enough precision & speed for the application you describe.Obviously, this would need to be tested. But testing a simple script modification is not hard. Certainly a whole lot less work than building and supported a custom CHDK build.
I'm wondering, a little, about the interaction of the "scripting engine" (if that's a fair description) and other chdk "stuff" e.g. if a script were trying to close the shutter at effectively the same instant the usb remote "process" was trying to open it is conflict likely?
is there a simple(ish) thread or explanation that may give a little insight into how this all hangs togther, it may talk about, say, "threads" & "processes" and other such intangibles for the uninitiated?
in case anyone could find it useful sometime, attached is a wip list of sx150is levent / related info.
Note levents (http://chdk.wikia.com/wiki/LogicalEvent) and eventprocs (http://chdk.wikia.com/wiki/Event_Procedure) are different things.Many eventprocs are listed in the platform/sub/.../funcs_by_*.csv files in the CHDK source.
A list of levents can be generated using the lua: http://chdk.wikia.com/wiki/Lua/Lua_Reference/Levent
Started by Microfunguy CHDK Releases
Started by Blooper « 1 2 » Creative Uses of CHDK
Started by David Ripple « 1 2 ... 6 7 » General Discussion and Assistance
Started by koshy « 1 2 ... 8 9 » General Discussion and Assistance
Started by cameraman Creative Uses of CHDK