Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - mrnewba

#1
General Chat / Canon T5/1200d Shutter Count
November 23, 2016, 01:05:40 PM
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