×

INDI Library v1.9.7 Released (29 Jul 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Help with DBus

  • Posts: 39
  • Thank you received: 7

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.
1 year 8 months ago #63154

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

  • Posts: 39
  • Thank you received: 7

Replied by Ray on topic Help with DBus

Got it working with focus_object.HFR
1 year 8 months ago #63156

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

Time to create page: 0.337 seconds