12-02-2014 02:38 AM
Hello Community,
I'm currently developing an active x control for integrating the Canon EOS 700D into our web application, and using the EDSDK 2.14 API. While testing the control, the camera seems to shutdown after a fixed interval. I checked the documentation that the camera should be issuing a notification that it will shut down soon, with the interval remaining. I tried handling it in a callback function patterned from the sample provided in the EDSDK documentation, and tried to catch the kEdsStateEvent_WillSoonShutDown event, but it never seems to get triggered. However, the kEdsStateEvent_Shutdown event seem to get triggered. The documentation mentions that the camera auto shut-off must be enabled to receive the kEdsStateEvent_WillSoonShutDown notification, and I checked the camera has it set to 15s, so I'm expecting the notification to be caught every 15s. And the callback function is set to handle kEdsStateEvent_All. Btw, I'm using C++ for developing the control.
Below is code snippet from the callback function:
switch(inEvent)
{
case kEdsStateEvent_WillSoonShutDown:
// try to extend timer -- anything placed here seem to never be called even if the Shutdown event is already triggered.
break;
case kEdsStateEvent_Shutdown:
// clean up objects
break;
}
I hope someone would be able to help. Thanks very much.
12-02-2014 10:44 AM
You're in the wrong forum... there's not much tech talk here outside of gear. I'd recommend going over to http://forum.xda-developers.com/ for programming help.
12-02-2014 10:33 PM
12/18/2024: New firmware updates are available.
EOS C300 Mark III - Version 1..0.9.1
EOS C500 Mark II - Version 1.1.3.1
12/05/2024: New firmware updates are available.
EOS R5 Mark II - Version 1.0.2
09/26/2024: New firmware updates are available.
EOS R6 Mark II - Version 1.5.0
Canon U.S.A Inc. All Rights Reserved. Reproduction in whole or part without permission is prohibited.