Re: Monitoring the camera settings

Marcus Meissner <[email protected]> Wed, 7 Sep 2022 09:10:23 +0200
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <YxhD39FPDUYyvCYz@jet>
On Tue, Sep 06, 2022 at 11:51:16PM +0200, Frank Tornack via Gphoto-user wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Hi all,
> 
> I hope I am in the right place with my question. I use a Nikon camera
> and an accessory that automatically changes camera settings.
> Unfortunately, this accessory keeps crashing at a certain point. Since
> I would help the very friendly support a little more, I am looking for
> a way to monitor the camera. With my Nikon D5100, I'm lucky that gphoto
> and my accessories use different ports. So I can connect my computer
> and the accessories at the same time. Now the question arises, if it is
> possible with gphoto to write a log, at which time which settings and
> commands are executed by the camera. For example that 12:01:12 a
> picture was triggered and 3 seconds later the ISO was adjusted.
> 
> I thank you in advance for the feedback and possible help.

You can try out

	gphoto2 --wait-event=100s 

and gphoto2 will report the events happening, including property changes and image
additions.

You can write this also in a C program (see libgphoto2/examples/sample-tether.c)
or via python bindings to log it with timestamps into a logfile.

Ciao, Marcus