Page 1 of 1

Nikon D5100 Liveview first boot

Posted: Mon Nov 12, 2018 3:47 pm
by ToadJoey
We are using the code for a simple photobooth app with the standalone library.

When i first try to run the Liveview i get a 'Invalid status' exception status code. But when run the DigiCamControl program and start the Liveview it just runs. If i get back to my application then it also runs. So the problem only exists when i first boot the program.

I got a work around for now that is based on the original Nikon SDK to make the first connection but ofcourse that is not what i want in my final program.

It looks like the DigiCamControl program sets the camera in a different mode or the standalone version is missing something that does work in the main application.

I've seen your post on the other thread but "GetProhibitionCondition(OperationEnum.LiveView)" returns a empty string for me also.

Hope you can help me out.

Re: Nikon D5100 Liveview first boot

Posted: Mon Nov 12, 2018 5:35 pm
by Duka Istvan
There nothing special done in main application https://github.com/dukus/digiCamControl ... er.cs#L172
Try to set true/false device.CaptureInSdRam and insert a another sd card in camera