×

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

Bi-monthly release with minor bug fixes and improvements

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

  • Posts: 64
  • Thank you received: 9
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
3 years 10 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?
3 years 10 months ago #53291

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

  • Posts: 64
  • Thank you received: 9
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
3 years 10 months ago #53315

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

Sure, it's pushed to master, thanks!
The following user(s) said Thank You: Ray
3 years 10 months ago #53316

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

  • Posts: 64
  • Thank you received: 9
Thanks Jasem, I can confirm its working.
3 years 10 months ago #53337

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

Time to create page: 0.497 seconds