Re: Nikon D3300 delay before taking a shot

Marcus Meissner <[email protected]>
Newsgroups gmane.comp.multimedia.gphoto.user
Organization SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 212 84 (AG Nürnberg)
Message-ID <[email protected]>
On Thu, Jul 13, 2017 at 11:41:39PM +0300, Kostis Andrikopoulos wrote:
> Hello,
> 
> I am a new user, and i have been trying to control my Nikon DSLR with
> gphoto. Specifically, i use the python3 bindings [0] for libgphoto2.
> 
> My problem is that between the time that the capture function is called,
> and the actual time that the camera shoots, there is a slight delay.

How long is the delay? What is the libgphoto2 version in use?
 
> Is this expected behaviour? Can fix this? I include the script i am using.

The script seems fine.

Ciao, Marcus

> Cheers,
> Kostis
> 
> 
> 
> 
> [0]: https://pypi.python.org/pypi/gphoto2

> import gphoto2 as gp
> 
> camera = gp.Camera()
> ctx = gp.Context()
> camera.init(ctx)
> 
> _ = input("press enter to capture")
> cap = camera.capture(gp.GP_CAPTURE_IMAGE, ctx)
> photo = camera.file_get(cap.folder, cap.name, gp.GP_FILE_TYPE_NORMAL, ctx)
> photo.save("test.NEF")

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> _______________________________________________
> Gphoto-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gphoto-user


-- 
Marcus Meissner,SUSE LINUX GmbH; Maxfeldstrasse 5; D-90409 Nuernberg; Zi. 3.1-33,+49-911-740 53-432,,serv=loki,mail=wotan,type=real <[email protected]>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.