×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Help with DBus

  • Posts: 64
  • Thank you received: 9

Help with DBus was created by Ray

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.
3 years 4 months ago #63154

Please Log in or Create an account to join the conversation.

  • Posts: 64
  • Thank you received: 9

Replied by Ray on topic Help with DBus

Got it working with focus_object.HFR
3 years 4 months ago #63156

Please Log in or Create an account to join the conversation.

Time to create page: 0.549 seconds