Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SkyTools 4 Imaging and SGP
#21
Hi Greg,

As far as integrating ST4 with SGP, it's going to require cooperation from Ken and Jared, the SGP developers, to go beyond target lists.  As far as I can tell, there is no documented interface for importing an SGP sequence or exporting the status of a sequence after a night's run.  

Exporting target lists to SGP is better than typing them in by hand, but it is a very weak integration compared to ST4's with ACP.  

Let's assume we can get cooperation from Ken and Jared.  Here's what I think would be a super slick integration that would satisfy almost all SGP users.  I'd be very interested to hear from other SGP users if there are holes in this approach.

ST4 Creates Sequences in SGP
SGP executes sequences.  A sequence is similar to an ACP plan.  It specifies an imaging system (in SGP, an "equipment profile"), one or more targets, and one or more events per target.  Each event is a capture of one or more images or calibration frames with a given filter and exposure length.   You can optionally specify gain and offset.   

I create a single sequence that runs all night.  This maps nicely to an ST4 schedule.  Other people might create multiple sequences and run them one by one, manually, throughout the night.  

In either case, access to the SGP sequence object is the key to the SGP kingdom.  Without that, we are stuck at level 1 integration - exporting a simple target list to SGP and then creating sequences by hand in SGP. 

My Ideal ST4<->SGP Workflow
1.  Using ST4's scheduler, I would create a full night's imaging schedule.  
2.  ST4 would send the schedule to SGP, and when I opened SGP, there would be a sequence I could execute that represented the ST4 schedule.
3.  After SGP executes the sequence, I would go to ST4 and read the status of the sequence and update my imaging project in ST4. 

I believe ST4 has all the information needed by SGP to create the targets and events part of a sequence.  We would require the filter names to match in ST4 and SGP, just as we do today for ACP.   In SGP, the filter names are part of the equipment profile.  ST4 could either specify an equipment profile when it calls SGP to create a sequence, or more likely, the user would create a sequence using the appropriate equipment profile, and then let ST4 update that sequence with targets and events.  

After SGP executes a sequence, it has status information about each event.  If SGP exposed the sequence object, ST4 could read that status and update the imaging project, just like it does with ACP Scheduler.

Feasibility
SGP has an API but it doesn't expose the sequence object.  It exposes objects that let a developer use SGP to do things like slew the telescope and take an image.  
So... the concept of exposing capabilities of SGP via an object-oriented API is not foreign to the SGP developers.  It seems to me that exposing a sequence object would be less work than exposing functions like taking an image - fewer actions and less status info to handle.  

Real-Time Control of SGP
Just for completeness, since ST4 has a real time imaging section, and SGP exposes objects intended to allow you to do just that, you could potentially integrate here.  
But I'm not sure this adds much value so to me, it's pretty low priority.  But I may be missing an opportunity so I'm throwing it out there.

Summary
I think if you could create a sequence and read its status, you could integrate ST4 and SGP in a very slick and useful way.  Actually, I'm not sure how they could be "more integrated."   If this approach is appealing to you and other ST4/SGP users, we could lobby the SGP devs for it.

Cheers,
Rowland
Reply


Messages In This Thread
SkyTools 4 Imaging and SGP - by theskyhound - 2018-09-09, 11:21 PM
RE: SkyTools 4 Imaging and SGP - by gregwjones - 2018-10-15, 08:53 PM
RE: SkyTools 4 Imaging and SGP - by OlavN - 2018-10-16, 11:32 AM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2018-10-16, 03:03 PM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2018-10-16, 04:53 PM
RE: SkyTools 4 Imaging and SGP - by gregwjones - 2018-10-16, 03:43 PM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2018-10-16, 04:36 PM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2018-10-16, 05:25 PM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2018-10-16, 03:41 PM
RE: SkyTools 4 Imaging and SGP - by choward94002 - 2018-10-16, 08:43 PM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2018-10-16, 11:28 PM
RE: SkyTools 4 Imaging and SGP - by choward94002 - 2018-10-17, 12:09 AM
RE: SkyTools 4 Imaging and SGP - by OlavN - 2018-10-16, 08:47 PM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2018-10-17, 12:18 AM
RE: SkyTools 4 Imaging and SGP - by choward94002 - 2018-10-17, 04:11 AM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2018-10-18, 05:55 AM
RE: SkyTools 4 Imaging and SGP - by choward94002 - 2018-10-18, 05:23 PM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2018-10-18, 09:08 PM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2018-10-18, 09:29 PM
RE: SkyTools 4 Imaging and SGP - by choward94002 - 2018-10-18, 09:54 PM
RE: SkyTools 4 Imaging and SGP - by Rowland - 2018-11-24, 05:39 PM
RE: SkyTools 4 Imaging and SGP - by vballrican - 2019-03-20, 09:19 PM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2018-11-26, 01:14 AM
RE: SkyTools 4 Imaging and SGP - by mitchmitchell - 2019-03-27, 06:18 AM
RE: SkyTools 4 Imaging and SGP - by theskyhound - 2019-04-13, 05:16 AM
RE: SkyTools 4 Imaging and SGP - by obrazell - 2019-04-13, 08:17 AM
RE: SkyTools 4 Imaging and SGP - by mitchmitchell - 2019-04-14, 05:24 AM
RE: SkyTools 4 Imaging and SGP - by siavash82ir - 2019-07-24, 07:54 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)