David's Astronomy Pages
Notes - Session 806 (2020-09-05)

 
2020-09-05 (Session 806)
Bullet Session Aims & Highlights
 - Observing Result
 - Night Summary Plot
 - Session Event Log
 
Bullet Operational Issues
  - Critical Issues (0),  Major Issues (0),  Minor Issues (7),  Continuous Improvement (6)
 
Bullet Foc1 AutoFocusing Error due to cosmic-ray (Profile 5)
Bullet Images from 2020-09-05 >>
2020-09-06
Bullet Development Computer - Windows 10 update (2004), CCDSoft & TeleAPI fixes
2020-09-07
Bullet Investigation - Dome appears non-responsive or stuck (S805)
Bullet Investigation - Scope Slewing Chart shows telescope slew passing across North Celestrial Pole (Scope Path had only two points)
Bullet Analysis - Foc1/Foc2 Autofocusing Time for Near Zenith Focus Field
 

Session Aims & Highlights (2020-09-05)

Main aims

  1. Targets. Acquire images of a number of targets if conditions allow.
  2. AllSky/Weather Computer. Conduct live session test of new replacement AllSky/Weather Computer, ensuring it fufills it role in providing data to support Observatory operations and identify/resolve any teething issues.

Equipment & Software

Highlights

Lowlights

Summary Plots & Logs

Observing Plan
Image
  
Observing Result
Image
   
Dome & Scope Slewing Performance
Image
  
Slew/Centering Performance
Image
  
Guiding Performance
Image
Image
  
Sky Conditions (Locate Frames)
Image
  
Night Sky Summary Plot
Top axis: Sky Brightness at Zenith (in ADU/s)
Lefthand axis: Local Time (hh LT). Righthand axis: Sun Altitude (degs)
Image   
  
Pre-Session Weather Forecast (API data from darksky.net)
Pre-Session Weather forecast showed dry conditons for the night with minimum temperature of 13°C,  but fairly cloudy in first part of night (52 to 72% cloud cover) but gradually clearing towards dawn (37 - 4% cloud cover). Wind was forecast to be moderate (20 mph), and it was not expected that conditions would be suitable for an observing session.

In the event conditions were less windy that expected and after seeing sky clearing at 01:00 - 01:30 a session was initiated via AutoStart around 01:30.
Cloud unfortunately developed around 02:30 which persisted till Dawn. Minimum outside temperature was 13.5°C.
Image   
  
Session Event Log
Time     Event Detail
22:41:37 Session Created Live Session Created (2020-09-05 S00806, ImageSaveNum: 806001)
22:41:39   Scope Switched On Telescope Power has been switched on via UPB Powerbox.
22:43:28   Services Started Observatory Services started
22:43:37 Observatory (Auto) Observatory placed in Fully-Automated Mode
22:43:39 Session Monitoring AutoStart monitoring for Live Session opportunity starting between 22:41 & 04:20
22:43:41 Session AutoStarting Session autostarting (22:41)
22:43:43 Session Pending Session pending (2020-09-05)
22:43:45 Session Initiating Session initiating (2020-09-05)
22:43:47   Plan Requested Observing Plan requested from AstroPlan (1.16)
22:45:58   Plan Loaded Observing Plan loaded to queue (2020-09-05 V1 BEST PLAN, Plan ID: 540)
22:46:11   Camera1 Connected SBIG Camera Connected (set point -15°C)
22:46:16   Telescope Connected Telescope Connected (TheSky6)
22:46:27 Session Equilibration Session ready for dome & camera equilibration
22:47:13   Dome Opened Dome opened (opening time 45s)
22:47:16   Equilibration Started Dome Equilibration started
22:47:38   Equilibration Ended Dome Equilibration ended (0.4 mins total)
22:47:40 Session Running Session running
22:47:42   Queue Started Observing Queue started (34 targets selected)
22:49:00       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
22:53:58       Focusing Completed Foc1 AutoFocus Completed (Profile No 1)
22:56:35       Focusing Completed Foc1 AutoFocus Completed (Profile No 1)
22:56:38       Focusing Started-Foc2 Foc2 Focusing Started (Secondary Scope, using ShCap)
22:58:57       Focusing Completed Foc2 AutoFocus Completed (Profile No 2, wide)
23:00:52       Focusing Completed Foc2 AutoFocus Completed (Profile No 2)
23:01:13       Focusing Checked Foc2 Focusing Check Succeeded
23:01:15     Target Missed (1/34) Target's time slot was missed (1/34, HIP 87937)
23:01:17     Target Started (2/34) Target started (2/34, GCVS FG Sge)
23:03:36       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
23:06:21       Focusing Completed Foc1 AutoFocus Completed (Profile No 3)
23:08:48     Target Completed Target completed (2/34, GCVS FG Sge)
23:08:50     Target Started (3/35) Target started (3/35, M30, ToO)
23:12:00       Focusing Failed Foc1 Focusing Failed - star is too dim (TCF-S)
23:20:23     Target Completed Target completed (3/35, M30, ToO)
23:20:25     Target Missed (4/35) Target's time slot was missed (4/35, GCVS BL Lac)
23:20:27     Target Started (5/35) Target started (5/35, GCVS SS Cyg)
23:22:55       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
23:25:32       Focusing Completed Foc1 AutoFocus Completed (Profile No 4)
23:29:04     Target Completed Target completed (5/35, GCVS SS Cyg)
23:29:06     Target Started (6/36) Target started (6/36, UGC 4719, ToO)
23:32:20       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
23:35:10       Focusing Completed Foc1 AutoFocus Completed (Profile No 5)
23:43:53   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
23:50:08     Target Completed Target completed (6/36, UGC 4719, ToO)
23:50:10   Queue Paused Queue paused for SoftSuspend
23:50:14 Session Suspended Session suspended
23:50:16     Target Missed (7/36) Target's time slot was missed (7/36, GCVS CY Lyr)
23:50:18     Target Missed (8/36) Target's time slot was missed (8/36, GCVS CI Cyg)
23:51:03   Dome Closed Dome closed (closing time 49s)
23:55:44 Session Resuming Session resuming
23:56:29   Dome Opened Dome opened (opening time 45s)
23:56:31 Session Running Session running
23:56:33   Queue Resumed Observing Queue resumed
23:56:35     Target Started (9/36) Target started (9/36, GCVS AM Her)
00:05:07     Target Completed Target partially completed (9/36, GCVS AM Her)
00:05:09     Target Started (10/36) Target started (10/36, GCVS S Cyg)
00:06:57       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
00:09:35       Focusing Completed Foc1 AutoFocus Completed (Profile No 6)
00:19:14     Target Completed Target completed (10/36, GCVS S Cyg)
00:19:16     Target Started (11/36) Target started (11/36, WDS GRB 34)
00:22:11       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
00:24:58       Focusing Completed Foc1 AutoFocus Completed (Profile No 7)
00:26:40     Target Completed Target completed (11/36, WDS GRB 34)
00:26:42     Target Started (12/36) Target started (12/36, GCVS RX And)
00:28:49       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
00:31:29       Focusing Completed Foc1 AutoFocus Completed (Profile No 8)
00:34:00     Target Completed Target completed (12/36, GCVS RX And)
00:34:02     Target Started (13/36) Target started (13/36, GCVS TT Ari)
00:36:52       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
00:40:02       Focusing Completed Foc1 AutoFocus Completed (Profile No 9)
00:46:09     Target Completed Target completed (13/36, GCVS TT Ari)
00:46:11     Target Started (14/36) Target started (14/36, GSC 1224:29)
00:48:56       Focusing Failed Foc1 Focusing Failed - star is too dim (TCF-S)
00:52:29   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
00:54:50     Target Completed Target completed (14/36, GSC 1224:29)
00:54:52   Queue Paused Queue paused for SoftSuspend
00:54:55 Session Suspended Session suspended
00:55:44   Dome Closed Dome closed (closing time 49s)
00:57:10 Session Resuming Session resuming
00:57:55   Dome Opened Dome opened (opening time 45s)
00:57:57 Session Running Session running
00:57:59   Queue Resumed Observing Queue resumed
00:58:01     Target Started (15/36) Target started (15/36, 61 Cyg)
00:59:59       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
01:02:37       Focusing Completed Foc1 AutoFocus Completed (Profile No 10)
01:03:48     Target Completed Target completed (15/36, 61 Cyg)
01:03:50     Target Started (16/36) Target started (16/36, GCVS U And)
01:04:50   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
01:06:34     Target Failed Target failed due to cloud (16/36, GCVS U And)
01:06:36   Queue Paused Queue paused for SoftSuspend
01:06:38 Session Suspended Session suspended
01:07:25   Dome Closed Dome closed (closing time 49s)
01:19:52 Session Resuming Session resuming
01:20:37   Dome Opened Dome opened (opening time 45s)
01:20:39 Session Running Session running
01:20:41   Queue Resumed Observing Queue resumed
01:20:43     Target Started (17/36) Target started (17/36, GCVS HH And)
01:22:40       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
01:25:30       Focusing Completed Foc1 AutoFocus Completed (Profile No 11)
01:27:37     Target Completed Target completed (17/36, GCVS HH And)
01:27:40     Target Started (18/36) Target started (18/36, GCVS HH And)
01:29:11       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
01:32:01       Focusing Completed Foc1 AutoFocus Completed (Profile No 12)
01:34:16     Target Completed Target completed (18/36, GCVS HH And)
01:34:18     Target Started (19/36) Target started (19/36, GCVS HH And)
01:35:35       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
01:38:25       Focusing Completed Foc1 AutoFocus Completed (Profile No 13)
01:40:38     Target Completed Target completed (19/36, GCVS HH And)
01:40:49     Target Started (20/36) Target started (20/36, GCVS RX And)
01:42:46       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
01:45:33       Focusing Completed Foc1 AutoFocus Completed (Profile No 14)
01:48:04     Target Completed Target completed (20/36, GCVS RX And)
01:49:09     Target Started (21/36) Target started (21/36, GCVS RX And)
01:50:38       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
01:53:17       Focusing Completed Foc1 AutoFocus Completed (Profile No 15)
01:55:48     Target Completed Target completed (21/36, GCVS RX And)
01:57:29     Target Started (22/36) Target started (22/36, GCVS TT Ari)
01:59:55       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
02:02:57       Focusing Completed Foc1 AutoFocus Completed (Profile No 16)
02:09:04     Target Completed Target completed (22/36, GCVS TT Ari)
02:09:25     Target Started (23/36) Target started (23/36, 61 Cyg)
02:12:20       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
02:14:59       Focusing Completed Foc1 AutoFocus Completed (Profile No 17)
02:16:09     Target Completed Target completed (23/36, 61 Cyg)
02:16:29     Target Started (24/36) Target started (24/36, 61 Cyg)
02:17:28       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
02:20:06       Focusing Completed Foc1 AutoFocus Completed (Profile No 18)
02:21:17     Target Completed Target completed (24/36, 61 Cyg)
02:22:07   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
02:22:10   Queue Paused Queue paused for SoftSuspend
02:22:13 Session Suspended Session suspended
02:23:02   Dome Closed Dome closed (closing time 49s)
02:24:18 Session Resuming Session resuming
02:25:03   Dome Opened Dome opened (opening time 45s)
02:25:05 Session Running Session running
02:25:07   Queue Resumed Observing Queue resumed
02:25:09     Target Started (25/36) Target started (25/36, GCVS HH And)
02:26:48       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
02:29:57       Focusing Completed Foc1 AutoFocus Completed (Profile No 19)
02:31:32     Target Completed Target completed (25/36, GCVS HH And)
02:31:48     Target Started (26/36) Target started (26/36, GCVS Z And)
02:33:26       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
02:36:17       Focusing Completed Foc1 AutoFocus Completed (Profile No 20)
02:39:55     Target Completed Target completed (26/36, GCVS Z And)
02:40:37     Target Started (27/36) Target started (27/36, GCVS DY Per)
02:43:11       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
02:46:08       Focusing Completed Foc1 AutoFocus Completed (Profile No 21)
02:50:24     Target Completed Target completed (27/36, GCVS DY Per)
02:50:45     Target Started (28/36) Target started (28/36, GCVS DY Per)
02:52:28       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
02:55:24       Focusing Completed Foc1 AutoFocus Completed (Profile No 22)
02:59:40     Target Completed Target completed (28/36, GCVS DY Per)
03:00:53     Target Started (29/36) Target started (29/36, GCVS ER UMa)
03:04:01       Focusing Failed Foc1 Focusing Failed - star is too dim (TCF-S)
03:09:09     Target Completed Target completed (29/36, GCVS ER UMa)
03:11:11     Target Started (30/36) Target started (30/36, GCVS CM Tau)
03:13:20       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
03:16:10       Focusing Completed Foc1 AutoFocus Completed (Profile No 23)
03:30:30     Target Completed Target completed (30/36, GCVS CM Tau)
03:31:11     Target Started (31/36) Target started (31/36, GCVS RR Tau)
03:33:44       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
03:36:22       Focusing Completed Foc1 AutoFocus Completed (Profile No 24)
03:42:15     Target Completed Target completed (31/36, GCVS RR Tau)
03:42:17     Target Started (32/36) Target started (32/36, 68P/Klemola)
03:44:53       Focusing Failed Foc1 Focusing Failed - star is too dim (TCF-S)
03:54:42     Target Completed Target completed (32/36, 68P/Klemola)
03:56:30     Target Started (33/36) Target started (33/36, GCVS FU Ori)
03:59:15       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
04:02:16       Focusing Completed Foc1 AutoFocus Completed (Profile No 25)
04:04:46     Target Completed Target completed (33/36, GCVS FU Ori)
04:04:49     Target Started (34/36) Target started (34/36, GCVS GK Per)
04:06:46       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
04:09:45       Focusing Completed Foc1 AutoFocus Completed (Profile No 26)
04:12:38     Target Completed Target completed (34/36, GCVS GK Per)
04:13:31     Target Started (35/36) Target started (35/36, GCVS SU Tau)
04:15:59       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
04:18:42       Focusing Completed Foc1 AutoFocus Completed (Profile No 27)
04:22:49     Target Completed Target completed (35/36, GCVS SU Tau)
04:23:27     Target Started (36/36) Target started (36/36, C/2020 F8 (SWAN))
04:26:13       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
04:29:34       Focusing Completed Foc1 AutoFocus Completed (Profile No 28)
04:45:55     Target Completed Target completed (36/36, C/2020 F8 (SWAN))
04:45:58   Queue Completed Job Queue completed
04:46:01 Session Closing Session closing
04:46:51   Dome Closed Dome closed (closing time 45s)
04:47:13   Dome Parked Dome parked (parking time 22s), Az: 90.1 deg
04:48:00   Telescope Parked Telescope parked (parking time 42s)
04:48:30   Telescope Switched Off Telescope Power has been switched off via UPB Powerbox.
04:49:17   Services Stopped Night Services stopped
04:49:19 Session Housekeeping Housekeeping Started (Cleanup FITS, Create Fits Summary, Transfer Files)
04:49:41 Session Finished Session Finished
   
Session Alerts
Time     Alert Detail
04:47:13 Dome Position Issue Reported park angle (90.1 degs) shows a discrepency of 0.1 degs

Back to Top


Operational Issues (2020-09-05, S806)

[ Prev | Next ]

Critical Issues

Major Issues

Minor Issues

Continuous Improvement

[ Prev | Next ]

Back to Top


Foc1 AutoFocusing Error due to cosmic-ray (Profile 5)

Foc1 Auto-Focusing was conducting a Focus Profile for a star field around Target 6/36 (UGC 4719) at 23:31 when a single rogue point led to 'best-focus' position being incorrectly determined at 1452, and as a consequence an incorrect focus offset being set for the target.   Images from the target were sub-optimally focused, but were still usuable.   Problem was spotted at 00:01 during remote monitoring and an interventation made to undo the bad Focus Offset.   It is unclear if standard focusing for the next target with a brighter enough focus star in starfield (S Cyg / Profile 6) would or wouldn't have refound the correct focus position if the manual interventation hadn't been made.  

The rogue point at 1452 has a FWHM (2.47") and a HFD (4.1") which were both lower (notionally better focused) than points associated with actual best focus at c.1900-1950).   The point also displaces the 'best fit quadratic curve'  away from actual best focus to a position that is around midway between actual best focus and the rogue point position.  The Foc1 Autofocusing has selected the Rogue Point as 'best focus' in preference to the 'best focus' from quadratic curve fit.

Examination of focus frames (see below) shows that Frame at 1452 contains a small (but sharp/bright ) artefact to right of focus star, most-likely from a cosmic ray hit, that has misled the FWHM measurements for the frame.  

The Autofocusing routine selects the position of highest FWHM on the assumption if there is a large difference in position between best fit curve and the highest FWHM point, then it is most-likely that the best fit curve has been displaced by some other anomalous point (expected to be lower than peak FWHM close to best focus).   This assumption clearly doesn't work in this particular case, where it would probably have been best to recognise that the profile is compromised and to not update the focus offset but leave it unchanged. 

Focus Profile 5
Rogue point at 1452
Image   
  
Focus Frames from Profile 5 compared
Rogue point Frame at 1452 (left),  Frame near best focus at 1972 (right)
It can be seen Rogue Point Frame has a small (but sharp/bright ) artefact,
most--likely from a cosmic ray hit, that has misled the FWHM measurements for the frame.
   Image     Image
  
Focus Profile 6
Image   
  
Best Focus Chart for Session S806 for Focus Field 21
The erronous 'best focus' position associated with Profile 5 can clearly be seen.
Image   
  
  

Back to Top


2020-09-06


Development Computer - Windows 10 Update (2004), CCDSoft & TeleAPI fixes

Windows 10 on the Development Computer finally enforced an update of the Windows 10 Pro operating system today from 1909 (installed 2019-08-05) to 2004 (installed 2020-09-05).    After restarting the computer the new version was installed and configured.  

CCDSoft5
Not unexpectedly installation of the new Windows 10 version 'broke' CCDSoft5' program.   Attempting to start CCDSoft produced a series of error messages reporting that several  .DLL files couldn't be found (including APOGEE32.dll, CFWAPI.dll, DSS_DLL.dll, ipl.dll, TiffPli.dll,  RelayAPI.dll,  TTY32.dll, ASTROM.dll,  eigenval.dll, EIGENVAL2.dll, SE.dll, PVAPI.dll). 

The same thing happened previously on Development Computer when it was upgraded from Windows 10 1803 to 1903 (see Windows 10 upgrade (1903) & CCDSoft DLLs (2019-08-03)  ) an old AllSky/Weather Computer following the  April 2018 update to Windows 10  (see AllSky Laptop - CCDSoft, TheSky & CCDApp2_AllSky Installation (2018-06-11) ) and an old Observatory Computer in 2016 when an attempt was made to update Windows 7 to Windows 10.    The referenced files are missing from 'C:\Program Files (x86)\Common Files\System'

As in 2018 the solution was to copy the required DLL files into the Common Files\System folder from the Common\System folder of another computer on the home network with CCDSoft5 is installed.  This step was somewhat simplier this time as the collection of required .DLL files was already set aside in a standby folder for exactly this circumstance. 

TeleAPI
Notes from 2019 when Windows 10 was upgraded in 1903 (see Windows 10 upgrade (1903) & CCDSoft DLLs (2019-08-03) ) indicated a problem with TeleApi following Windows 10 update.  TheSky6 was therefore examined to see if TeleApi was functioning correctly and finding that it wasn't,  the TeleApi setup (TeleAPI(5.0.4)Setup.exe) was rerun which eventually fixed the problem.

Regsvr32
It was conjectured that registering the referenced .dll files using "regsvr32.exe" might possibly prevent a future reoccurance of the problem.
e.g.  Using Adminstrator Command Prompt :
%systemroot%\System32\regsvr32.exe  "C:\Program Files (x86)\Common Files\System\eigenval.dll" (64 bit version), or
%systemroot%\SysWoW64\regsvr32.exe "C:\Program Files (x86)\Common Files\System\eigenval.dll"  (32 bit version)

However when run the RegSvr32 process produces an error message saying that the ".dll file was loaded but the entry point DllRregisterServer was not found. Make sure the <path to .dll file> is a valid DLL or OCX file and try again"

Apparently just because a file has a .dll extension doesn't mean it is registerable.   So RegSvr32 doesn't help us.  

The solution is therefore to simply re-copy the .dll files into the ..\Common Files\System folder following the update (making sure one has the required DLLs to hand).   This is far quicker than the alternate solution that would involve reinstalling CCDSoft (which is complicated because of multiple version steps that seem to have to be gone through between the original CD version and the latest version).

Back to Top


2020-09-07


Investigation - Dome appears non-responsive or stuck (S805)

An investigation was carried out today (2020-09-07) as a follow-up to a sequence of Dome Problems during a previous session (S505, 2020-09-04)

Issue:
Problem Closing Dome (00:53). Dome appears non-responsive or stuck. . Session Shutdown stuck

Description
Sky conditions deteriorated at 00:51 (AllSky StarCount dropped to 17, which was below the threshold of 20 stars being used), and Obs.Manager called a Soft Suspend. Following completion of current target (DY Per) the session suspended at 00:53 and 'Closing Dome' was reported.    However there was no corresponding message line or event to report that dome closure had been completed.
AstroGuard observed that Dome was closing at 00:53 but noted that shutter had taken > 68s to close.  

At 01:53 sky conditions became critical and AstroGuard checked the dome and found the dome to be closing.  At 03:17 sky conditions again became critical and AstroGuard again checked the dome and found the dome to be closing.  At 04:28 conditions improved and Obs.Manager attempted to resume the session and open the Dome, but found that dome opening hadn't finished afer 90s and note there may be a 'mechanical or electrical issue' and commanded a Dome Closure as a precaution.  A similar attempt to resume the session and open the dome was made at 04:49 but the again the dome was found to not have opened after 90s.  Session entered Closing State at 04:57 but progress became seemingly stuck in a loop associated with 'Close Dome'.

Observatory Status was checked via WebSite at 05:15 and the finding the dome to be slewing and closing when it should have been parked and closed, and the Close Down observatory seemingly stalled, the Observatory was visited to check precise situation.  Dome was found to be closed , but pointing towards WNW (Az. 280 degs). Scope was pointing at to ENE sky at 70 deg inclination with Tracking Off.  Telescope was parked via Device Hub at 05:31 Dome Service restarted in AstroMain at 05:33.  Dome was parked via AstroGuard at 05:34.  

Analysis
Looking back at the set of saved ObsPics shows the Dome going  to Az. 280 at 00:26 for Target 8/32 (GCVS AM Her) but not moving when scope went on to Target 9/32 (Z And) at 00:34 or to Target 10/32 (DY Per) at 00:43. Discrepency between Scope and Dome Azimuths were reported following slew to both targets.

A similar issue has been seen before on session Sxxxx (2020-0x -xx), its unclear if this is a dome/dome driver issue or an issue related to use of DeviceHub (instead of POTH.Hub).    

Examining the Dome's ASCOM Trace Log shows the regular sequence of requests every 5s ( 'Connected Get' ,  'ShutterStatus' etc) stops being logged  after the request at 00:27:07 which corresponds with the time that ObsPic show the Dome not responding.   Volatile message line continue every 1s suggesting that Pulsar Dome Driver is still getting information from the Dome Drive Unit.  The Trace Log shows a Close Shutter request at 00:53 and the shutter moves to state 3 (closing) at 00:53:08, and to state 1 (closed) at 00:53:50 (i.e. a normal closing time of 42s)
At 04:28:45 there is an Open Shutter request and the shutter opens between  04:28:46 and 04:29:26 (opening time 50s)
Close Shutter / Open Shutter requests at 04:30:15, 04:49:47,  04:51:17 are similarly met. Finally there is a Close Shutter request at 05:34:26 (shutter already closed) and a Park Request at 05:34:26, which is completed at 05:35:38 (Az 90.0 degs).

Obs.Manager Code Review (SessionState = Closing)
   Closing Stage 0
   If  Dome.ShutterIsClosed = False  Then
       Dome.CloseShutter2() routine
   End If
   ClosingStageNo = 1

   Closing Stage 1
   If Dome.ShutterIsClosed() Or (FinalCloseShutterAttempts = 3 And SecondsSince(TimeCloseShutterRequested) > 120) Then
      ClosingStageNo = 2
  ElseIf Dome.ShutterIsOpen() And SecondsSince(TimeCloseShutterRequested) > 120 Then
     ClosingStageNo = 0
  End If

 It can be seen that if ShutterStatus is stuck on ShutterState.Closing as was in this case (and is thus unable to reach the Closed State), further progress in Closing Down the Session can not be made (the operation is 'stuck' in ClosingStage1) . Obs.Manager is still running and monitoring other conditions, it just cannot move onto to Park Dome (which). Park Scope, Close Down Camera etc, finisihing with HouseKeeping and the end of the session.

 Beside relying entirely on the DeviceHub, it is possible to monitor / read the Pulsar Dome Ascom log to identify / resolve discrepencies between what the Dome is saying and what Device Hub is saying.

Conclusion
It seems that DeviceHub is passing client requests to Open/Shut the Dome through to the Dome Driver, but has stopped getting updates from Pulsar Dome Driver.  It would appear that the relevant thread in DeviceHub for doing this has 'frozen' or otherwise stopped working or can't return new results. The DeviceHub thread that monitors the Telescope position and automatically moves the Slaved Dome when Scope moves also appears to have stopped working.

(Whilst 5s is the cycle time for Obs.Manager, 2s is cycle time for Observatory Monitoring,  AstroGuard also uses a 5s cycle time but likely a different phase to Obs.Manager , the 5s frequency of Dome reads is dependant on DeviceHub's own cycle time when the dome is stationary. When Slewing the DeviceHub's read cycle time appears to increase to 1s).

The fact that both AstroMain and AstroGuard clients aren't getting correct information about the status of the Dome from 00:27 onwards would indicate a problem in the DeviceHub (the Server) rather than a problem coincidentally happening in both Clients at the same time. 
(Its impossible to rule out a problem in Pulsar Dome Driver, but there are no indications of this from examing the ASCOM trace log and doesn't seem to happen when running POTH.Hub).


Work Required
Problem needs to be spotted by the Obs.Manager and an appropriate Alert generated for first new occurance of the problem. The dome should probably be disconnected by both AstroMain and AstroGuard before reconnecting the dome and reappraising the situation. If this doesn't resolve the problem the Telescope might also need to be disconnected (by AstroMain, AstroGuard & PHD2) and Device Hub closed / restarted.

Problem should be reported to DeviceHub's author (Rick).

Close Session Routine needs to prevent itself getting stuck in an endless cycle waiting for Dome to Close and have a timeout facility to allow Dome Shutdown to conclude, with appropriate error reporting & alerts on Dome Closure & Dome Parking.

Back to Top


Investigation - Scope Slewing Chart shows telescope slew passing across North Celestrial Pole (Scope Path had only two points)

An investigation was carried out today (2020-09-07) as a follow-up to a sequence of Dome Problems during a recent session (S805, 2020-09-04)

Issue:
Telescope slew to Target 6/36 appears to cross North Celestrial Pole.  

Description
The session's scope slewing chart shows a scope track going to Target 6/36 (UGC 4719) that seems to pass across the North Celestrial Pole. This is a slew that is impossible for the fork mounted LX200 main scope;  the actual slew would have seen a slew path that rotates around the celestrial pole axis (like the slew away from UGC 4719) that maintains a Declination outside of high-Dec no-go region where the CCD Camera would have clashed into the fork base.

Reviewing the log file shows that only the first 1 or 2 points along the scope path (ie for first 1s) have been captured, the rest of the scope path hasn't been recorded. Without the rest of the path, the Dome/Scope Slewing Chart has more or less drawn a straight line between starting coordinates (Az 164.7) and ending coordinates (Az 3.8) and this passes across the north celestrial pole. The prior slew and the next slews produced 15-27 points along the slew path (i.e. a normal number) .  Code needs to be investigated to see what could have caused to record only 2 points or to otherwise exit the slew path monitoring routine early.

Code Review
Looking at Scope.SlewTheSkyScope() routine,  ScopePath points are only generated when the angular change between successive position reads is > 0.1 arc min.  Given the large slew (176 arc degs) and assuming that DeviceHub was returning correct and timely positional values from the Scope, extra Slew Path points should have been generated unless bScopeCompleted was pre-maturely set to True.  

bScopeCompleted can only be set to True under two conditions when DeviceHub is being used

a)  when bScopeSlewStarted=True and Scope.Slewing = false
b) when bScopeSlewStarted=false and Scope.Slewing = false and Telescope.IsSlewComplete = 1

Now b) can be ruled out as the logfile doesn't contain the unique message "Setting bScopeCompleted whilst bScopeSlewStarted is still False"

Scope.Slewing doesn't access objScope.Slewing unless there is >1s since the last access.  So whilst is could be imagined that Slewing could have started (True) but Scope.Slewing could still be showing a pre-slewing value (False) it can be seen that bScopeSlewStarted is only set to True if Scope.Slewing = True.   The next Scope.Slewing call should therefore also give True if it is within 1s or give True because objScope.Slewing is true because it still has a long way to reach the target.  So condition a) shouldn't have been met until the Target was finally reached.

The Report File and Slew Table show that Scope slewing time was 74s.  Whilst Scope.LastSlewSeconds is set when bScopeCompleted is set to True, it is overwritten later after both Dome&Scope have finished slewing when it is set to number of seconds between TimeLastMovement detected (AngularChange > 0.1 arc min) and StartTime.  

A reduced list of scope paths could conceivably resut if there is an exception within the routines, but the absence of any logged exception message and the timings (75s between start and end messages) don't support such an explanation.  

Conclusion
The only explanation left is that for the duration of the slew DeviceHub stopped returning up to date telescope Ra, Dec coordinates.  With a 'frozen position' there would be no angular change between successive reads and therefore no ScopePath points would have been generated.

Fix/Workaround
The problem is not critical and doesn't effect the slewing to target, but it does produce a cosmetically unappealing and distracting graph result and reduces the information available for investigation/diagnosis should some incident occur (e.g. camera hits fork) and one needs to understand what had happened.

Workarounds would be to revert back to POTH.Hub, but this Hub is being retracted in ASCOM in favour of the new DeviceHub replacement.

Problem should be reported to DeviceHub's author (Rick) for his comment.

In meantime it would be useful to modifiy code and record exact instances where scope coordinates from DeviceHub have remained static during a telescope slew for longer than 2 seconds. This would at least help narrow down the problem.  This was done in AstroMain 3.28.4, but still having some issues in S810 (2020-09-17) with log showing telescope position appearing to be 'static' for up to 3s at a time during the slew.

Problem eventually resolved by installing DeviceHub 6.4.1.11 and setting the telescope Fast Poll Rate to 0.5s.
Image Fixed 2020-09-18 (DeviceHub 6.4.1.11)

Back to Top


Analysis - Foc1/Foc2 Autofocusing Time for Near Zenith Focus Field

An analysis was carried out to compile the typical time taken to complete Foc1/Foc2 Autofocusing including precursive wide focus search.  This is data is needed to ensure that Obs.Manager opens the observatory at a time that is earlier enough  for autofocusing task to be completed before the beginning of the time slot of the first target.

S806

Session Equilibration                   2020-09-05 22:46  (Local)        Actual
  Now                         Info      2020-09-05 22:46  (  -8 mins )   22:46:27   ( 30s late)
  Expected Shutter Opening    Info      2020-09-05 22:46  (  -8 mins )   22:46:27
  Expected Equilbrat'n Start  Info      2020-09-05 22:47  (  -7 mins )   22:47:13   ( 15s late)
  Expected Run Start          Info      2020-09-05 22:47  (  -7 mins )   22:47:38   ( 30s late)
  Expected Near-Zenith Foc1   Info      2020-09-05 22:48  (  -6 mins )   22:48:47   (~ 1 min late)  (8 min instead of 3)
  Expected Near-Zenith Foc2   Info      2020-09-05 22:51  (  -3 mins )   22:56:35   (~ 5 min late)  (5 min instead of 3)
  Expected Queue Start        Info      2020-09-05 22:54  (   0 mins )  
  Plan Queue Start            Info      2020-09-05 22:54  ( On Track )   23:01:13   {~ 7 min late)

S804

Session Equilibration                   2020-09-03 21:18  (Local)        Actual
  Now                         Info      2020-09-03 21:18  ( -11 mins )
  Expected Shutter Opening    Info      2020-09-03 21:18  ( -11 mins )   21:18:39    (40s late)
  Expected Equilbrat'n Start  Info      2020-09-03 21:19  ( -10 mins )   21:19:25
  Expected Run Start          Info      2020-09-03 21:19  ( -10 mins )   21:23:05    ( 4 min late)
  Expected Near-Zenith Foc1   Info      2020-09-03 21:20  (  -9 mins )   21:23:51    ( 2.5 min late) (8 min instead of 3)
  Expected Near-Zenith Foc2   Info      2020-09-03 21:23  (  -6 mins )   21:31:50    ( 10 min late)  (5 min instead of 3)
  Expected Queue Start        Info      2020-09-03 21:26  (  -3 mins )
  Plan Queue Start            Info      2020-09-03 21:30  ( On Track )   21:36:46    ( 15 min late)


Back to Top