David's Astronomy Pages
|
Notes (S788) |
Notes Main |
Home Page |
Notes (S790) |
Session Aims & Highlights | |
- Observing Result - Night Summary Plot - Session Event Log |
|
Operational Issues | |
- Critical Issues (0),
Major Issues (0),
Minor Issues (3),
Continuous Improvement (10) |
|
Images from 2020-06-01 >> | |
2020-06-04 | |
---|---|
Investigation: Opening Dome Issue (S755 & S763) | |
2020-06-05 to 2020-06-08 | |
ASCOM.DeviceHub | |
Dew Heater Control | |
Main aims
Equipment & Software
Highlights
Lowlights
Summary Plots & Logs
Observing Plan | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Observing Result | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Dome & Scope Slewing Performance | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Slew/Centering Performance | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Guiding Performance | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sky Conditions (Locate Frames) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Night Sky Summary Plot Top axis: Sky Brightness at Zenith (in ADU/s) Lefthand axis: Local Time (hh LT). Righthand axis: Sun Altitude (degs) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Pre-Session Weather Forecast (API data from darksky.net) Pre-Session Weather forecast showed variable skies range from 5 to 50% cloud cover, light winds (wind 7mph) and a minimum temperature of 6°C. In the event conditions were clear and calm through the whole night, with a minimum temperature of around 4°C |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Session Event Log | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Session Alerts | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Back to Top
Back to Top
Issue : Initial problems opening Dome Shutter (Sessions S755 & S763)
When using
AstroMain's manual 'Open Shutter' button the shutter would seem to begin
opening on ObsViewer but then immediately shut. No obvious messages or errors
given. Weather conditions fine. This happened twice in a row. On third
attempt and (after clicking Open Shutter in POTH) the Shutter opened ok.
Issue has been seen previously (e.g. Session S755)
Problem was investigated by looking through data from session S763.
AstroMain Report Logs (S763)
Logs
show Open Dome routine being called twice at 19:38 but dome shutter didn't
appear to Open. A third call to Open Dome at 19:40 successfully worked.
AstroMain ObsPics (S763)
Obs Pics show the Dome
rotating from Az 090 (Park Position) to ~Az 180 (Scope Position) at around 19:38
to 19:39. This was in response to turning on Dome Slaving
The Pics don't
capture situation where dome appears to begin opening. This is probably because
pics are only saved at intervals of 30s or so, and will be unlikely to
capture events that the display (updated every 2s) might show.
AstroGuard (S763)
AstroGuard doesn't show anything until
Services where run at around 20:05 at which point the Dome was already found to
be open.
Ascom Trace Logs (S763)
ASCOM Trace Log for Dome shows
19:38:18 Volatitle
90.0 .... (Dome at Az 90)
19:38:19 SlewToAzimuth
180.2
19:38:19 Slewing Get
False (is slewing)
19:38:21 OpenShutter
19:38:23
ShutterStatus 1 (closed)
19:38:45 OpenShutter
19:38:45 ShutterStatus 2 (presumed opening)
19:38:46 ShutterStatus
1 (closed)
19:39:00 Volatitle
180.2 (Dome at Az 180.2)
19:39:00 Slewing Get
True (is not slewing)
19:39:16 OpenShutter
19:39:17 ShutterStatus 2 (presumed opening)
19:39:17.ShutterStatus 1 (closed)
19:40:10 OpenShutter
19:40:10 ShutterStatus 2 (presumed opening)
19:40:12 ShutterStatus 2 (opening)
19:40:53 ShutterStatus 0
(open)
Note
When Dome is Slewing Trace Log shows
'Slewing Get False'
When Dome
is Not Slewing Trace Log shows 'Slewing Get
True'
This seems opposite to that expected. Prehaps 'False'
means dome can't slew (it is already slewing) and 'True' means dome can be
slewed.
Conclusion
Commands to Open Shutter won't operate if the
dome is in process of slewing (slewing has to be finished in order for Open
Shutter commands to work)
It is likely that Close Shutter commands also
won't operate whilst the dome is in process of slewing.
Recommendation
User should take note of the slewing
status of the dome before using an Open Dome operation.
Code for Open
Dome should check if Dome Slewing is in progress and warn user (manual mode) or
wait to Dome Slewing is completed (automated mode)
For rapid closure of
Dome in the event of rain etc, it would probably be appropriate to check Slewing
Status of the Dome and send an Abort Command to Dome (to stop any slewing in
progress) so that Close Shutter can immediately operate in the event of critical
weather conditions / Hard Suspend due to rain etc.
Back to Top
DeviceHub
Device Hub provides the ability to use the
ASCOM Platform and conforming drivers to control a telescope, a dome, and a
focuser. This is similar to the venerable POTH Hub tool. It is intended that
DeviceHub replaces POTH before Microsoft drops support for the Visual Basic 6
runtime libraries.
The Device Hub also provides itself as a local server for a telescope, a
dome, and a focuser. Just like POTH, Device Hub can also provide dome slaving
transparently from the viewpoint of a connected telescope client.
Installation
As part of preparation for moving over to
using DeviceHub, the latest version of DeviceHub (6.4.1.7) was downloaded today
(2020-06-04) from github
https://github.com/ASCOMInitiative/ASCOMDeviceHub and installed on the
development computer (running ASCOM Platform 6.4 SP1, build 6.4.1.2695). A copy
of DeviceHub manual was also downloaded.
DeviceHub was started to
confirm that installation was successful and the application was basically
operating ok (but without connecting to a simulator dome and a simulator
scope in the first instance)
Data Fields
ASCOM Profile Explorer was used to look up
data fields for ASCOM.DeviceHub.Dome and ASCOM.DeviceHub.Telescope to understand
any key difference s with Datafield used by POTH.Dome and POTH.Telescope
Main differences :
DeviceHub.Dome uses 'Dome ID' whilst POTH.Dome uses
'DomeID'
DeviceHub.Dome doesn't have the equivalent of POTH.Dome
'DomeName'
DeviceHub.Telescope uses 'Telescope ID' whilst POTH.Dome
uses 'ScopeID'
DeviceHub.Telescope doesn't have the equivalent of
POTH.Telescope 'ScopeName'
Plan for integrating DeviceHub into Clair Observatory Software Suite (AstroMain, AstroGuard, TheSky6, PHD2) is shown plan along with current status:
Development Computer
Install DeviceHub on Development Computer
Understand differences between DeviceHub and POTH
Edit Dome Settings with Dome Parameters associated with Clair Observatory
Confirm basic operations of DeviceHub with connection to Simulator.Dome and
Simulator.Telescope
AstroMain &TheSky6
Modify AstroMain to work with DeviceHub
- Add UseDeviceHub checkbox (checked = Use DeviceHub, unchecked = Use POTH)
- Modify Dome.Connect routine to be able to connect to DeviceHub.Dome
- Add new function GetDomeSubID (to get DomeID of dome attached to
DeviceHub.Dome or POTH.Dome
- Add new function SetDomeDevice to replace older function
- Modify Scope.Connect routine to be able to connect to DeviceHub.Dome
- Add new function GetScopeSubID (to get TelescopeID of telescope attached to
DeviceHub.Telescope or POTH.Telescope)
- Add new function SetScopeDevice to replace older function
- Modify Dome.Disconnect and Scope.Disconnect routines
- Modify Setup Hub to use DeviceHub
Build & Test new AstroMain version (3.25.2 )
- Confirm connection to DeviceHub.Dome and DeviceHub.Telescope from AstroMain
(working with Simulators)
- Manually edit TeleAPI.Scope in TheSky6 to link to DeviceHub.Telescope
- Confirm connection to DeviceHub.Telescope from TheSky6 (manually edit of
TeleAPI.Scope to link to DeviceHub.Telescope)
- Confirm read-access to Dome Az. ShutterStatus, Scope Ra/Dec, Scope Az/Alt,
ScopeStatus etc
- Confirm function SetTracking, SetSlaving, Open/Close Shutter, ParkScope,
ParkDome etc
- Confirm continued Dome/Scope functionality using POTH
AstroGuard
Modify AstroGuard to work with DeviceHub
- Add UseDeviceHub checkbox (checked = Use DeviceHub, unchecked = Use POTH)
- Modify ConnectDome to be able to connect to DeviceHub.Dome
- Add new function GetDomeSubID (to get DomeID of dome attached to
DeviceHub.Dome or POTH.Dome
- Modify ConnectDome to be able to connect to DeviceHub.Dome
- Add new function GetScopeSubID (to get TelescopeID of telescope attached to
DeviceHub.Telescope or POTH.Telescope)
Build & Test new AstroGuard version (1.4)
- Confirm connection to DeviceHub.Dome and DeviceHub.Telescope from AstroGuard
(working with Simulators)
- Confirm read-access to Dome Az. ShutterStatus, Scope Ra/Dec, Scope Az/Alt,
ScopeStatus etc
- Confirm function Close Shutter, ParkDome, ParkScope
- Confirm continued Dome/Scope functionality using POTH
PHD2
- Manually edit Mount setting to link to DeviceHub.Telescope
- Confirm connection to DeviceHub.Telescope from PHD2
AstroLaunch
Extend 'Kill Stranded' Processes' to include ASCOM.DeviceHub
Build & Test new AstroLaunch version (1.4)
AstroProtect
Modify AstroProtect to able to connect to scope via DeviceHub
Build & test new AstroProtect version (1.4)
Observatory Computer
Install DeviceHub 6.4.1.7 on Observatory Computer (2020-06-07)
Edit Dome Settings with Dome Parameters associated with Clair Observatory
Confirm basic operations of DeviceHub with connection to Simulator.Dome and
Simulator.Telescope
Waiting
on new version of DeviceHub that resolves connection issue with
MeadeLX200GPS.Telescope (2020-06-07)
Install DeviceHub 6.4.1.8 on Observatory Computer (2020-06-08 am)
Waiting
again on new version of DeviceHub that resolves connection issue with
MeadeLX200GPS.Telescope (2020-06-08)
Install DeviceHub 6.4.1.10 on Observatory Computer (2020-06-08 pm)
AstroMain &TheSky6
Install new version (AstroMain 3.25.1)
- Confirm connection to DeviceHub.Dome and DeviceHub.Telescope from AstroMain
(working with Simulators)
- Confirm 'Setup Hub works'
(i.e. sets DeviceHub to use
ASCOM.Pulsar_Observatories_Dome.Dome and MeadeLX200GPS.Telescope)
- Confirm connection to ASCOM.Pulsar_Observatories_Dome.Dome from DeviceHub
- Confirm connection to MeadeLX200GPS.Telescope from DeviceHub 6.4.1.7 (FAIL - See below)
- Confirm connection to MeadeLX200GPS.Telescope from DeviceHub 6.4.1.8 (FAIL)
- Confirm connection to MeadeLX200GPS.Telescope from DeviceHub 6.4.1.10 (SUCCESS,
2020-06-08)
- Manually edit TeleAPI.Scope in TheSky6 to link to DeviceHub.Telescope
- Confirm connection to DeviceHub.Telescope (MeadeLX200GPS.Telescope) from
TheSky6
- Confirm read-access to Dome Az. ShutterStatus, Scope Ra/Dec, Scope Az/Alt,
ScopeStatus etc
- Confirm function SetTracking, SetSlaving, Open/Close Shutter, ParkScope,
ParkDome etc
- Confirm continued Dome/Scope functionality using POTH
- Perform Live Session Test (DONE S790, 2020-06-08)
Install new version (AstroMain 3.25.2) with DeviceHub set as default Hub
AstroGuard
Install new version (AstroGuard 1.4)
- Confirm connection to DeviceHub.Dome and DeviceHub.Telescope from AstroGuard
(working with Simulators)
- Confirm read-access to Dome Az. ShutterStatus, Scope Ra/Dec, Scope Az/Alt,
ScopeStatus etc
- Confirm function Close Shutter, ParkDome, MoveScope
- Confirm continued Dome/Scope functionality using POTH
PHD2
Manually edit Mount setting to link to DeviceHub.Telescope
- Confirm connection to DeviceHub.Telescope from PHD2
- Confirm guiding operations work from PHD2
PemProV2
Manually edit Mount/Scope ASCOM driver to link to DeviceHub.Telescope
- Confirm connection to DeviceHub.Telescope from PemProV2
AstroLaunch
Instal new version (AstroLaunch 1.4)
Instal new version (AstroLaunch 1.4.1) with DeviceHub set as default Hub
AstroProtect
Install new AstroProtect version (1.4.1)
Key | ||||
Completed |
In Progress |
Issue | To Do |
Issues seen
System.ArgumentException HResult=0x80070057
Message=Argument 'Length' must be greater or equal to zero.
Source=Microsoft.VisualBasic. StackTrace:
at
Microsoft.VisualBasic.Strings.Right(String str, Int32 Length)
at
CCDApp2.PulsarDomeMonitor.GetLatestPulsarLogFile() in
C:\Users\David\Documents\Visual Studio 2017\Projects\AstroMain\Dome.vb:line
1245
at CCDApp2.PulsarDomeMonitor.RunPulsarDomeMonitor() in
C:\Users\David\Documents\Visual Studio 2017\Projects\AstroMain\Dome.vb:line
1383
at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at
System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state, Boolean preserveSyncCtx)
at
System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
at
System.Threading.ThreadHelper.ThreadStart()
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. --->
System.Runtime.InteropServices.COMException: Member not found. (Exception
from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))
--- End of inner exception stack
trace ---
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags
invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32
culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String
name, BindingFlags bindingFlags, Binder binder, Object target, Object[]
providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[]
namedParams)
at ASCOM.DriverAccess.TrackingRates.GetEnumerator() in C:\ASCOM
Build\Export\ASCOM.DriverAccess\Telescope.cs:line 1551
at
ASCOM.DeviceHub.DeviceManagerBase.GetServiceProperty[T](Func`1 getCmd, T
defaultValue, ActivityMessageTypes messageType, String propName) in D:\My
Projects\Visual Studio
2019\ASCOMDeviceHub\DeviceHub\DeviceManagers\DeviceManagerBase.cs:line 90
at
ASCOM.DeviceHub.TelescopeManager.get_TrackingRates() in D:\My Projects\Visual
Studio
2019\ASCOMDeviceHub\DeviceHub\DeviceManagers\TelescopeManagerAccess.cs:line 722
at ASCOM.DeviceHub.TelescopeParameters..ctor(TelescopeManager mgr) in D:\My
Projects\Visual Studio 2019\ASCOMDeviceHub\DeviceHub\Business Object
Classes\Telescope Classes\TelescopeParameters.cs:line 37
at
ASCOM.DeviceHub.TelescopeManager.ReadInitialTelescopeDataTask() in D:\My
Projects\Visual Studio
2019\ASCOMDeviceHub\DeviceHub\DeviceManagers\TelescopeManager.cs:line 768
at
ASCOM.DeviceHub.TelescopeManager.<Connect>b__244_0() in D:\My Projects\Visual
Studio 2019\ASCOMDeviceHub\DeviceHub\DeviceManagers\TelescopeManager.cs:line 201
at System.Threading.Tasks.Task.InnerInvoke()
at
System.Threading.Tasks.Task.Execute()
Back to Top
My first dew heater controller had two manual knobs for controlling the
power/heating level applied to the two circuits. It was a bit or miss if one
selected the right level of heating to control dew without causing too much air
currents in the telescope tube that can effect image quality.
Part of the
reason for acquiring a Pegasus Ultimate Powerbox (UPB) in Autumn 2018 was a move
towards increased Observatory Automation / increased remote control with
software/remote access to dew heater controls, allowing the dew heaters to be
turned on/off and to be set to specific power levels or run in Auto Mode where
the UPB would automatically set the Dew Heater Power based on Humidity.
The algorithum use a simple linear relationship between dew heater power and
humidty (thus 60% power at 60% humidity, 95% power at 95% humidity
etc)
A couple of issues limited the proper operation of dew heaters using
UPB until Spring 2019.:
- a voltage supply issue that meant that dew
heaters couldn't be turned up to more than 50% level without voltage to UPB
dropping too low.
( this was due to voltage losses in the 12V
extensio cable that was necessarily required between the Pegaus Power Adapter in
the Observatory Control Bay and the UPB attached to one of the telescope's fork
arms., the issue also prevented runnning dew heaters in Auto Mode, all
control had to be performed 'manually' via the UPB Window). This was eventually
fixed by using a special heavy duty 16AWG 12V power lead extension that was
purchased from the US in Mar 2019
- an early failure in the
Temperature/Humidity Sensor that is attached to the UPB, meant that the UPB
didn't have reliable humidity values to run the dew heaters in Auto Mode until a
replacement sensor was sent out by Pegasus Astro in Dec 2018
However the
originally planned operation of the dew heaters from the AstroMain observatory
control program was delayed ountil a fully functioning ASCOM Switch Driver for
the UPB eventually became available a year later in Oct/Nov 2019 .
A
modifed algorithum for operating the dew heater was incorporated into AstroMain,
where Power Level was set to Humidity Value when the Observatory was open, but
run at around 60% level when observatory operations where suspended / dome
closed, and run at 25-30% when an observatory session wasn't running.
Back to Top
This Web Page: | Notes - Session 789 (2020-06-01) |
Last Updated : | 2024-02-21 |
Site Owner : | David Richards |
Home Page : | David's Astronomy Web Site |