Ray created a new topic ' Help with DBus' in the forum. 3 years ago

Hi Jaseem,

I'm trying to access these function from the Focus module using DBus.

public slots:
Q_SCRIPTABLE Q_NOREPLY void capture();


public:
Q_SCRIPTABLE double getHFR()
{
return currentHFR;
}

capture() is working fine using 'focus_object.capture()' but getHFR() gives an error

AttributeError: '<CompositeObject>' object has no attribute 'getHFR'

I'm guessing this is because getHFR() is not defined in the 'public slots' section.
Is it not possible to access getHFR() using DBus or do I have to access it differently?

Ray.

Read More...