'Access denied' when capturing photo with Nikon D80 in Matlab

Report bugs and errors to the digiCamControl development team.
Post Reply
Luigi
Posts: 2
Joined: Sun May 27, 2018 5:06 pm

'Access denied' when capturing photo with Nikon D80 in Matlab

Post by Luigi » Sun May 27, 2018 5:25 pm

Hi, I have been working with DigiCamControl for a few weeks now and it's a really useful app.
I have a problem when working with Nikon D80 (connected with USB). The problem is related to capturing photos through Matlab. If I do it manually by clicking on 'capture photo' icon it works well and image transferring is very quick. Also when I go to: http://localhost:5513/?CMD=Capture it works fine.
When I try to use 'C.Capture' in Matlab the acquisition doesn't work and I got a message on the DigiCam GUI saying 'ACCESS DENIED'. I tried with 3 different Nikon D80 and I get always the same error message. Then I tried with a Nikon D7000 and it works fine. Unfortunately for my project I need to work with the 3 Nikon D80.

Please note that I tried using different DigiCamControl versions (2.0.76.1 and 2.0.0.0) but in both cases I had the same problem.

Could you help me in fixing this issue?

In Matlab I use a simple code see below:

C = CameraController;
C.camera.isonumber = 200;
C.camera.fnumber = 11;
C.session.folder = 'C:\Users\cvlp6\Desktop\digiCamControl\Session1';
C.session.filenametemplate = '[Counter 4 digit]';
C.session.counter = 0;
C.Capture;

Best,
Luigi

'Access denied' when capturing photo with Nikon D80 in Matlab

Advertisment
 

Serge
Posts: 26
Joined: Sat Apr 23, 2016 6:23 pm

Re: 'Access denied' when capturing photo with Nikon D80 in Matlab

Post by Serge » Mon May 28, 2018 3:16 am

Hello Luigi,
If the web browser works then the problem is with my MatLab code.. or MatLab itself, either way i don't think it concerns this forum.
Try the C.dbg=2; command I posted to MatLab central to figure out what request MATLAB is sending.
Yoy can also contact me directly on:
s3rg3y at hotmail dot com
Serge

Luigi
Posts: 2
Joined: Sun May 27, 2018 5:06 pm

Re: 'Access denied' when capturing photo with Nikon D80 in Matlab

Post by Luigi » Mon May 28, 2018 5:02 pm

Hi Serge,

Thank you. Please note i sent you an email.

Luigi

MichaelJep
Posts: 2
Joined: Sun Jun 10, 2018 3:05 pm

Access denied when capturing photo with Nikon D80 in Matlab

Post by MichaelJep » Sat Jun 23, 2018 9:03 pm

I cant logout, it says access denied.. i tried from the forums and the main site doesnt give me the choice to either log in or log out

Post Reply