Page 1 of 1

Getting hold of the pause button in Live Stacking

Posted: Sun May 20, 2018 7:54 pm
by BillC2018
Hi!
Is there a way to pause the camera while live stacking (or at least pause the stacking). When I am doing a regular capture sequence I can set the selected camera pause flag to true when I send the message to phd to do a dither, and then set it back to false when phd reports that it is doing guiding again.
I was thinking I could take the same approach with Live stacking, I can just use the framecount to tell when to dither, but for the live of me I cant find a way to pause / stop the stacking process while dithering is happening.

Thanks !

Bill

Re: Getting hold of the pause button in Live Stacking

Posted: Sun May 20, 2018 8:06 pm
by admin
It's easy :)

Code: Select all

SharpCap.LiveStacking.Parameters.Paused = True
... dither ...
... wait at least one frame to avoid stacking dithered frame ...
SharpCap.LiveStacking.Parameters.Paused = False
Robin

Re: Getting hold of the pause button in Live Stacking

Posted: Sun May 20, 2018 9:20 pm
by BillC2018
Ahhh ..

Never thought to look for a .livestacking. object :) was going off the current camera .. Thanks!

Re: Getting hold of the pause button in Live Stacking

Posted: Mon May 21, 2018 8:40 pm
by BillC2018
So the next question would be is there a way to tell when LiveStacking is active as opposed to just previewing ?

Re: Getting hold of the pause button in Live Stacking

Posted: Mon May 21, 2018 8:49 pm
by admin
So, to tell if the live stacking panel is open and hence live stacking is active, use

Code: Select all

print SharpCap.LiveStacking.IsActive
I think that property and the 'Paused' property pretty much cover everything - you can either have

* live stacking off or
* live stacking on or
* live stacking on but paused

cheers,

Robin

Re: Getting hold of the pause button in Live Stacking

Posted: Tue May 22, 2018 4:19 pm
by BillC2018
Thanks .