×

INDI Library v1.9.7 Released (29 Jul 2022)

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

Request for 'Pause Capture' support from Ekos DBUS script - capture/CCD module

  • Posts: 39
  • Thank you received: 7
Hi Jasem, I'm using Ekos DBUS script to control the image capture Start/Stop function of the Capture module. The ability to Pause the capture queue is available from the GUI but is not supported by DBUS scripting. I have made small changes to the Kstars source files and recompiled to provide this function but it would be nice if 'Pause capture' could be supported by Ekos DBUS scripts in future Kstars releases.

Regards.
The following user(s) said Thank You: Jasem Mutlaq
2 years 3 months ago #53268

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

Thank you for making the change, can you post the diff? or submit PR to KStars via Phabricator?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
2 years 3 months ago #53291

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

  • Posts: 39
  • Thank you received: 7
Hi Jasem, I'm no programmer so I doubt what I did to implement this is the right way but the two files I changed as follows...

/ekos/capture/capture.h
public slots:
Q_SCRIPTABLE Q_NOREPLY void pause(); // changed this line
Q_SCRIPTABLE Q_NOREPLY void toggleSequence(); // added this line

private slots:
// removed this line void toggleSequence();

org.kde.kstars.Ekos.Capture.xml
// added these lines
<method name="pause">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
</method>
<method name="toggleSequence">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
</method>
The following user(s) said Thank You: Jasem Mutlaq
2 years 3 months ago #53315

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

Sure, it's pushed to master, thanks!
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: Ray
2 years 3 months ago #53316

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

  • Posts: 39
  • Thank you received: 7
Thanks Jasem, I can confirm its working.
2 years 3 months ago #53337

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

Time to create page: 0.758 seconds