dukus / digiCamControl

DSLR camera remote control open source software
http://digicamcontrol.com/
Other
664 stars 224 forks source link

Canon (EOS) not autofocusing #222

Closed BStrauss3 closed 8 years ago

BStrauss3 commented 8 years ago

Affects both the CameraControlCmd (/capture) and the GUI.

See discussion on forum http://digicamcontrol.com/phpbb/viewtopic.php?f=1&t=1370, Brian is having the same problem on his T1 and I'm having on my T3i.

Fix is to replace lines in Canon.Eos.Framework in EosCamera.cs - around line 556, replace this

 Util.Assert(this.SendCommand(Edsdk.CameraCommand_TakePicture),
 "Failed to take picture.");

by

Util.Assert(this.SendCommand(Edsdk.CameraCommand_PressShutterButton, (int)Edsdk.EdsShutterButton.CameraCommand_ShutterButton_Completely),
 "Failed to press fully.");
 Util.Assert(this.SendCommand(Edsdk.CameraCommand_PressShutterButton, (int)Edsdk.EdsShutterButton.CameraCommand_ShutterButton_OFF),
 "Failed to release.");
BStrauss3 commented 8 years ago

Leave a comment