Take a look the DoMFLock() and UnlockMF() functions in the wrappers.c file used by your camera (in platform/s110). Note that the actual code there varies by camera so you are better off calling those functions rather than reproduce the little bit of code they contain.
Thanks, that worked.
Just a quick update, I haven't posted in a while.
I've finished all the transmission stuff now including reading and setting the propcases (for aperture, ISO, shutter speed, ND filter state, DR correction, shadow correction and white balance mode) as well as focus. Focus goes into it's own 16-bit buffer, and everything else fits into 32 bits with several bits to spare. Everything is sent as one 48 bit packet. I'll probably add a few other things like whether or not a raw file is saved.
So the next thing to do is to tie everything together in a way that won't likely leave the slave in a suspended half-press state if something goes wrong. Then I'll also have to add synchronised zooming.
A quick question though, if I use
shooting_in_progress() in order to run a command when shooting is done, will that return false as soon as the shot is taken or after the shot is processed/saved and it's ready for the next one? And what if it's taking a dark-frame subtraction?
Thanks for all the help with the project so far, it's nearly done now
Edit: Looks like I got the 111111th post
111111 Posts in 10728 Topics by 10161 Members. Latest Member: JMarques
Latest Post: "Re: Synchronising two S1..." ( Today at 22:45:53 )
View the most recent posts on the forum.
[More Stats]
Edit again: to answer my own question,
shooting_in_progress() appears to be true untill the image has been processed and saved (tried it with inbuilt raw saving). Which will make things easier.