Discussion:
[gphoto-devel] Storing configuration widget changes permanently on Nikon cameras
unclebob
2017-02-20 09:16:12 UTC
Permalink
I noticed some unexpected behavior when storing configuration widgets on
Nikon cameras via the gphoto API:
The camera doesn't store the change permanently. It does store it if you
switch off the camera manually after applying the change, but if the power
fails before a manual shutdown, the configuration is lost and the previous
configuration is set when turning the camera back on. Since we're mostly
configuring our cameras remotely, switching the camera off manually
obviously isn't an option.
I have not tested the cli or with other cameras than Nikon, so the behavior
might be different there.

Other tools like Nikons own camera controll pro can store changes
permanently, so this does not seem to be an issue with the cameras
themselves.

I'm hesitant to call this a bug, because there's a possibility that I'm
missing an API call that would make the changes permanent, but I can't find
any mentions of such a function in the API docs. If there is, I'd be
thankful if you could tell me how it's called.




--
View this message in context: http://gphoto-software.10949.n7.nabble.com/Storing-configuration-widget-changes-permanently-on-Nikon-cameras-tp16588.html
Sent from the gphoto-devel mailing list archive at Nabble.com.
Marcus Meissner
2017-03-06 06:26:10 UTC
Permalink
Hi,
Post by unclebob
I noticed some unexpected behavior when storing configuration widgets on
The camera doesn't store the change permanently. It does store it if you
switch off the camera manually after applying the change, but if the power
fails before a manual shutdown, the configuration is lost and the previous
configuration is set when turning the camera back on. Since we're mostly
configuring our cameras remotely, switching the camera off manually
obviously isn't an option.
I have not tested the cli or with other cameras than Nikon, so the behavior
might be different there.
Other tools like Nikons own camera controll pro can store changes
permanently, so this does not seem to be an issue with the cameras
themselves.
I'm hesitant to call this a bug, because there's a possibility that I'm
missing an API call that would make the changes permanent, but I can't find
any mentions of such a function in the API docs. If there is, I'd be
thankful if you could tell me how it's called.
Does this go for all config options?

I am so far not aware of this :/

Not sure what things they send. Perhaps the Controlmode command is responsible.

Set "controlmode=1" at begin and "controlmode=0"

Ciao, Marcus

Loading...