Canon T5/1200d Shutter Count

Started by mrnewba, November 23, 2016, 01:05:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mrnewba

Hi, I'm trying to build a windows app that will count canon T5/1200d shutter actuations. I'm using Canon EDSDK v3.2. Does anybody knows how to do this?

I saw this on ML source code:
volatile int shutter_count = 0;
volatile int shutter_count_plus_lv_actuations = 0;
PROP_HANDLER(PROP_SHUTTER_COUNTER)
{
    shutter_count = buf[0];
    shutter_count_plus_lv_actuations = buf[1];
}

#define PROP_SHUTTER_COUNTER 0x80030029

And tried this:

err = EdsGetPropertySize(camera, PROP_SHUTTER_COUNTER, 0 , &dataType, &dataSize);

But I got only:

err == EDS_ERR_PROPERTIES_UNAVAILABLE