[PLANNER-469]  Add support for TheSky X
Type Enhancement
Priority High
Severity Major
Component TheSky Plan Capture, TheSky Quick Capture
Fixed In Version [4.24.2
Versions Affected [4.1.14.1
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 9/15/2010

Description
This could be difficult as the scripting support in TheSky X is "new" and it does not support early binding.

Comments
12/1/2010 5:15:54 PM   Bob Denny
Closing this. Tested thoroughly. Will handle beta issues separately.
12/1/2010 1:06:45 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/planner
SVN Revision 33
Affected files /trunk/ACP Planner/Help/RelNotes.htm (Modified)
/trunk/ACP Planner/Help/RoutineUseTS.htm (Modified)
/trunk/Setup/Custom Actions/Reg32on64.js (Deleted)
Check-in comment Removed Telescope Coordinates capture (couldn't do in TheSkyX) but those sources were committed in the PLan Importing fix. Other misc fixes and docs for several issues. GEM:469
11/30/2010 10:21:50 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/planner
SVN Revision 30
Affected files /trunk/ACP Planner/Help/RelNotes.htm (Modified)
/trunk/TheSky Plan Capture/SkyClickCatcher.exe (Modified)
/trunk/TheSky Plan Capture/SkyClickCatcher.vbp (Modified)
/trunk/TheSky Plan Capture/frmMain.frm (Modified)
/trunk/TheSky Quick Capture/SkyQuickCapture.exe (Modified)
/trunk/TheSky Quick Capture/SkyQuickCapture.vbp (Modified)
/trunk/TheSky Quick Capture/frmMain.frm (Modified)
Check-in comment Remove dependencies on any TLB. Remove telescope coordinates capture. GEM:469
11/30/2010 10:20:50 AM   Bob Denny
Remove capture from telescope coordinates altogether. It is a wart anyway since Planner is designed for offline use.
11/30/2010 9:27:34 AM   Bob Denny
In TheSky X, the RASCOMTele features do not work unless you explicitly connect to the telescope from the RASCOMTele interface. If the telescope is connected via the TheSky UI, you still can't use it from RASCOMTele without connecting it there. This is different from TheSky 6.

The problem is, how do you capture from Telescope Coordinates in the PlanCapture applet without connecting the scope? And if the scope is connected, mouse-wheel time control doesn't work. This was true in TheSky 6 as well. Need to consider all of this.
11/30/2010 9:24:26 AM   Bob Denny
Lots of wrestling. Turns out starting with 10.1.9 the TheSky6.tlb has been replaced by TheSkyX 1.0.tlb. It has different names for all of the enumerated constants! So, we can't use either of them in practice. Instead, I'll recode everything to use the numeric values. This will make the Plan Capture and Quick Capture applets completely late bound and independent of the TLBs entirely.
11/19/2010 6:03:00 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/planner
SVN Revision 29
Affected files /trunk/ACP Planner/Help/RelNotes.htm (Modified)
/trunk/ACP Planner/Help/RoutineUseTS.htm (Modified)
/trunk/Setup/Setup.vdproj (Modified)
/trunk/TheSky Plan Capture/SkyClickCatcher.exe (Modified)
/trunk/TheSky Plan Capture/SkyClickCatcher.vbp (Modified)
/trunk/TheSky Plan Capture/frmMain.frm (Modified)
/trunk/TheSky Quick Capture/SkyQuickCapture.exe (Modified)
/trunk/TheSky Quick Capture/SkyQuickCapture.vbp (Modified)
/trunk/TheSky Quick Capture/frmMain.frm (Modified)
Check-in comment BETA 3 - Mouse wheel time is working with TheSky X 10.1.9.4210 (private build). Waiting for 10.1.10 public release to put this out. GEM:469
11/19/2010 6:00:17 PM   Bob Denny
Working great! All set for beta 3, which I'll release once SW BIsque releases TheSky X 10.1.10 and I can re-check with that.
11/19/2010 5:29:16 PM   Bob Denny
Matt sent a test build, 10.1.9.4210. Time control works! Now to unfix the logic from before, detect the minimum version, and unfix the docs.
10/14/2010 4:31:13 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/planner
SVN Revision 28
Affected files /trunk/ACP Planner/Help/RelNotes.htm (Modified)
/trunk/ACP Planner/Help/RoutineUseTS.htm (Modified)
/trunk/Setup/Setup.vdproj (Modified)
/trunk/TheSky Plan Capture/SkyClickCatcher.exe (Modified)
/trunk/TheSky Plan Capture/SkyClickCatcher.vbp (Modified)
/trunk/TheSky Plan Capture/frmMain.frm (Modified)
/trunk/TheSky Quick Capture/SkyQuickCapture.exe (Modified)
/trunk/TheSky Quick Capture/SkyQuickCapture.vbp (Modified)
/trunk/TheSky Quick Capture/frmMain.frm (Modified)
Check-in comment 4.1.2 (beta 2) - Mousewheel time uses TheSky X's clock controls. Docs and cosmetics, as well as disabling hooks. GEM:469
10/14/2010 4:28:40 PM   Bob Denny
Beta 2: Forget mouse wheel time control in the capture applets. TheSky X's clock controls provide it, and it is much more intuitive that way anyway (and can be used without running a capture applet, changing window focus, etc.). Changed docs to reflect this and disabled/hid it all when using TheSky X.
10/7/2010 3:56:09 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/planner
SVN Revision 27
Affected files /trunk/ACP Planner/Help/FirstPlanSkyRotator.htm (Modified)
/trunk/ACP Planner/Help/RelNotes.htm (Modified)
/trunk/ACP Planner/Help/RotatorsTheSky.htm (Modified)
/trunk/ACP Planner/Help/RoutineUseTS.htm (Modified)
/trunk/Setup/Setup.vdproj (Modified)
/trunk/TheSky Plan Capture (Modified)
/trunk/TheSky Plan Capture/SkyClickCatcher.exe (Modified)
/trunk/TheSky Plan Capture/SkyClickCatcher.vbp (Modified)
/trunk/TheSky Plan Capture/SkyClickCatcher.vbw (Deleted)
/trunk/TheSky Plan Capture/frmMain.frm (Modified)
/trunk/TheSky Quick Capture (Modified)
/trunk/TheSky Quick Capture/SkyQuickCapture.exe (Modified)
/trunk/TheSky Quick Capture/SkyQuickCapture.vbp (Modified)
/trunk/TheSky Quick Capture/SkyQuickCapture.vbw (Deleted)
/trunk/TheSky Quick Capture/frmMain.frm (Modified)
Check-in comment BETA 4.2.1 with TheSky X support (partial). Released as beta for testing. GEM:469
10/7/2010 2:59:54 PM   Bob Denny
Updated to 10.1.9 and things are in good enough shape to make a release. The time control does not work, and the telescope always reports IsConnected = 0. But it's still usable for planning even with time features, as the reporting of JD is OK. Specifically, the following problems remain as of TheSky X 10.1.9:

Problem 1:
CurJD = SKY.DocumentProperty(skDocProp_JulianDateNow)
Debug.Print CurJD
SKY.DocumentProperty(skDocProp_JulianDateNow) = CurJD + DeltaJD ' Adjust JD in TheSky
SKY.UpdateSolarSystem
Debug.Print SKY.DocumentProperty(skDocProp_JulianDateNow)

results in the JD property changing in the second Debug.Print, but no effect on the actual planetarium. Then on the next call, the JD is the old value.

Problem 2:

SKY.DocumentProperty(skDocProp_UseComputerClock) = 0

does not turn off Use Computer Clock in TheSky X. Presumably, setting it to 1 would not turn it on either.

Problem 3:

TEL.IsConnected

always returns 0 whether the telescope is connected in TheSKy X or not.

Will send my findings to Bisque.