diff --git a/ConformanceResult.txt b/ConformanceResult.txt index b2c86ca..dc441b0 100644 --- a/ConformanceResult.txt +++ b/ConformanceResult.txt @@ -1,3 +1,6 @@ +Start-up ASCOM Device Conformance Checker - 64bit mode +Start-up ASCOM Platform 6.4 SP1 6.4.1.2695 + ConformanceCheck ASCOM Device Conformance Checker Version 6.4.63.0, Build time: 18/12/2018 08:58:34 ConformanceCheck Running on: ASCOM Platform 6.4 SP1 6.4.1.2695 @@ -12,189 +15,257 @@ Error number for "Value Not Set 1" is: 80040402 Error number for "Value Not Set 2" is: 80040403 Error messages will not be interpreted to infer state. -18:42:13.212 Driver Access Checks OK -18:42:13.853 AccessChecks OK Successfully created driver using late binding -18:42:14.078 AccessChecks OK Successfully connected using late binding -18:42:14.098 AccessChecks INFO The driver is a .NET object -18:42:14.101 AccessChecks INFO The AssemblyQualifiedName is: ASCOM.MeadeAutostar497.Telescope, ASCOM.MeadeAutostar497.Telescope, Version= -18:42:14.106 AccessChecks INFO The driver implements interface: ASCOM.DeviceInterface.ITelescopeV3 -18:42:14.796 AccessChecks INFO Device does not expose interface ITelescopeV2 -18:42:15.597 AccessChecks INFO Device exposes interface ITelescopeV3 -18:42:16.909 AccessChecks OK Successfully created driver using driver access toolkit -18:42:17.080 AccessChecks OK Successfully connected using driver access toolkit +20:25:07.406 Driver Access Checks OK +20:25:08.054 AccessChecks OK Successfully created driver using late binding +20:25:08.281 AccessChecks OK Successfully connected using late binding +20:25:08.285 AccessChecks INFO The driver is a .NET object +20:25:08.289 AccessChecks INFO The AssemblyQualifiedName is: ASCOM.MeadeAutostar497.Telescope, ASCOM.MeadeAutostar497.Telescope, Version= +20:25:08.294 AccessChecks INFO The driver implements interface: ASCOM.DeviceInterface.ITelescopeV3 +20:25:08.987 AccessChecks INFO Device does not expose interface ITelescopeV2 +20:25:09.814 AccessChecks INFO Device exposes interface ITelescopeV3 +20:25:11.132 AccessChecks OK Successfully created driver using driver access toolkit +20:25:11.305 AccessChecks OK Successfully connected using driver access toolkit Conform is using ASCOM.DriverAccess.Telescope to get a Telescope object -18:42:18.395 ConformanceCheck OK Driver instance created successfully -18:42:18.611 ConformanceCheck OK Connected OK +20:25:12.627 ConformanceCheck OK Driver instance created successfully +20:25:12.842 ConformanceCheck OK Connected OK Common Driver Methods -18:42:18.652 InterfaceVersion OK 3 -18:42:18.680 Connected OK True -18:42:18.708 Description OK Meade Autostar 497 .net -18:42:18.736 DriverInfo OK Information about the driver itself. Version: 0.0 -18:42:18.765 DriverVersion OK 0.0 -18:42:18.794 Name OK Meade Autostar 497 .net -18:42:18.823 CommandString INFO Conform cannot test the CommandString method -18:42:18.829 CommandBlind INFO Conform cannot test the CommandBlind method -18:42:18.835 CommandBool INFO Conform cannot test the CommandBool method -18:42:18.842 Action INFO Conform cannot test the Action method -18:42:18.849 SupportedActions OK Driver returned an empty action list +20:25:12.886 InterfaceVersion OK 3 +20:25:12.915 Connected OK True +20:25:12.943 Description OK Meade Autostar 497 .net +20:25:12.972 DriverInfo OK Information about the driver itself. Version: 0.0 +20:25:13.000 DriverVersion OK 0.0 +20:25:13.029 Name OK Meade Autostar 497 .net +20:25:13.058 CommandString INFO Conform cannot test the CommandString method +20:25:13.065 CommandBlind INFO Conform cannot test the CommandBlind method +20:25:13.071 CommandBool INFO Conform cannot test the CommandBool method +20:25:13.077 Action INFO Conform cannot test the Action method +20:25:13.088 SupportedActions OK Driver returned an empty action list Can Properties -18:42:18.914 CanFindHome OK False -18:42:18.921 CanPark OK True -18:42:18.928 CanPulseGuide OK True -18:42:18.935 CanSetDeclinationRate OK False -18:42:18.942 CanSetGuideRates OK False -18:42:18.950 CanSetPark OK False -18:42:18.959 CanSetPierSide OK False -18:42:18.971 CanSetRightAscensionRate OK False -18:42:18.978 CanSetTracking OK False -18:42:18.985 CanSlew OK True -18:42:18.992 CanSlewltAz OK True -18:42:19.000 CanSlewAltAzAsync OK True -18:42:19.010 CanSlewAsync OK True -18:42:19.019 CanSync OK True -18:42:19.027 CanSyncAltAz OK False -18:42:19.036 CanUnPark OK False +20:25:13.156 CanFindHome OK False +20:25:13.163 CanPark OK True +20:25:13.170 CanPulseGuide OK True +20:25:13.177 CanSetDeclinationRate OK False +20:25:13.187 CanSetGuideRates OK False +20:25:13.195 CanSetPark OK False +20:25:13.202 CanSetPierSide OK False +20:25:13.215 CanSetRightAscensionRate OK False +20:25:13.222 CanSetTracking OK False +20:25:13.230 CanSlew OK True +20:25:13.237 CanSlewltAz OK True +20:25:13.246 CanSlewAltAzAsync OK True +20:25:13.255 CanSlewAsync OK True +20:25:13.264 CanSync OK True +20:25:13.273 CanSyncAltAz OK False +20:25:13.282 CanUnPark OK False Pre-run Checks -18:42:19.083 Mount Safety INFO Scope is not parked, continuing testing -18:42:19.139 TimeCheck INFO PC Time Zone: GMT Summer Time, offset -1 hours. -18:42:19.147 TimeCheck INFO PC UTCDate: 02-May-2019 17:42:19.147 -18:42:19.274 TimeCheck INFO Mount UTCDate: 02-May-2019 17:42:17.000 +20:25:13.332 Mount Safety INFO Scope is not parked, continuing testing +20:25:13.384 TimeCheck INFO PC Time Zone: GMT Summer Time, offset -1 hours. +20:25:13.392 TimeCheck INFO PC UTCDate: 06-May-2019 19:25:13.392 +20:25:13.517 TimeCheck INFO Mount UTCDate: 02-May-2019 20:31:47.000 Properties -18:42:19.348 AlignmentMode OK algPolar -18:42:19.385 Altitude OK Optional member threw a PropertyNotImplementedException exception. -18:42:19.418 ApertureArea OK Optional member threw a PropertyNotImplementedException exception. -18:42:19.450 ApertureDiameter OK Optional member threw a PropertyNotImplementedException exception. -18:42:19.482 AtHome OK False -18:42:19.513 AtPark OK False -18:42:19.573 Azimuth OK 323.76 -18:42:19.644 Declination OK 25:33:02.00 -18:42:19.676 DeclinationRate Read OK 0.00 -18:42:19.709 DeclinationRate Write OK CanSetDeclinationRate is False and a PropertyNotImplementedException exception was generated as expected -18:42:19.741 DoesRefraction Read OK Optional member threw a PropertyNotImplementedException exception. -18:42:19.773 DoesRefraction Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:19.805 EquatorialSystem OK equLocalTopocentric -18:42:19.837 FocalLength OK Optional member threw a PropertyNotImplementedException exception. -18:42:19.870 GuideRateDeclination Read OK Optional member threw a PropertyNotImplementedException exception. -18:42:19.880 GuideRateDeclination Write OK CanSetGuideRates is False and a PropertyNotImplementedException exception was generated as expected -18:42:19.914 GuideRateRightAscension Read OK Optional member threw a PropertyNotImplementedException exception. -18:42:19.924 GuideRateRightAscension Write OK CanSetGuideRates is False and a PropertyNotImplementedException exception was generated as expected -18:42:19.958 IsPulseGuiding OK False -18:42:19.990 RightAscension OK 00:00:00.00 -18:42:20.022 RightAscensionRate Read OK 0.00 -18:42:20.055 RightAscensionRate Write OK CanSetRightAscensionRate is False and a PropertyNotImplementedException exception was generated as expected -18:42:20.088 SiteElevation Read OK Optional member threw a PropertyNotImplementedException exception. -18:42:20.122 SiteElevation Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:20.132 SiteElevation Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:20.145 SiteElevation Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:20.205 SiteLatitude Read OK 00:00:00.00 -18:42:20.242 SiteLatitude Write OK Invalid Value exception generated as expected on set site latitude < -90 degrees -18:42:20.254 SiteLatitude Write OK Invalid Value exception generated as expected on set site latitude > 90 degrees -18:42:20.290 SiteLatitude Write OK Legal value 00:00:00.00 degrees written successfully -18:42:20.347 SiteLongitude Read OK -06:12:00.00 -18:42:20.382 SiteLongitude Write OK Invalid Value exception generated as expected on set site longitude < -180 degrees -18:42:20.393 SiteLongitude Write OK Invalid Value exception generated as expected on set site longitude > 180 degrees -18:42:20.486 SiteLongitude Write OK Legal value -06:12:00.00 degrees written successfully -18:42:20.526 Slewing OK False -18:42:20.560 SlewSettleTime Read OK Optional member threw a PropertyNotImplementedException exception. -18:42:20.599 SlewSettleTime Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:20.611 SlewSettleTime Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:20.650 SideOfPier Read OK Optional member threw a PropertyNotImplementedException exception. -18:42:20.699 SiderealTime OK 07:52:31.84 -18:42:20.710 SiderealTime INFO Scope and ASCOM sidereal times are up to 0.5 hour different, Scope: 07:52:31.84, ASCOM: 07:58:56.94 -18:42:20.749 TargetDeclination Read OK Optional member threw a PropertyNotImplementedException exception. -18:42:20.794 TargetDeclination Write INFO Tests moved after the SlewToCoordinates tests so that Conform can check they properly set target coordinates. -18:42:20.811 TargetRightAscension Read OK Optional member threw a PropertyNotImplementedException exception. -18:42:20.849 TargetRightAscension Write INFO Tests moved after the SlewToCoordinates tests so that Conform can check they properly set target coordinates. -18:42:20.861 Tracking Read OK True -18:42:20.899 Tracking Write OK CanSetTracking is False and a PropertyNotImplementedException exception was generated as expected -18:42:20.940 TrackingRates Found drive rate: driveSidereal -18:42:20.951 TrackingRates OK Drive rates read OK -18:42:20.965 TrackingRates OK Disposed tracking rates OK -18:42:21.001 TrackingRates OK Successfully obtained a TrackingRates object after the previous TrackingRates object was disposed -18:42:21.013 TrackingRate Read ISSUE This member is mandatory but threw a PropertyNotImplementedException exception, it must function per the ASCOM specification. -18:42:21.105 UTCDate Read OK 02-May-2019 17:42:18.000 -18:42:21.272 UTCDate Write OK New UTCDate written successfully: 02/05/2019 18:42:18 +20:25:13.591 AlignmentMode OK algPolar +20:25:13.647 Altitude OK 90.00 +20:25:13.685 ApertureArea OK Optional member threw a PropertyNotImplementedException exception. +20:25:13.720 ApertureDiameter OK Optional member threw a PropertyNotImplementedException exception. +20:25:13.752 AtHome OK False +20:25:13.783 AtPark OK False +20:25:13.845 Azimuth OK 22.95 +20:25:13.903 Declination OK 89:59:59.00 +20:25:13.934 DeclinationRate Read OK 0.00 +20:25:13.967 DeclinationRate Write OK CanSetDeclinationRate is False and a PropertyNotImplementedException exception was generated as expected +20:25:14.000 DoesRefraction Read OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.031 DoesRefraction Write OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.063 EquatorialSystem OK equLocalTopocentric +20:25:14.096 FocalLength OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.131 GuideRateDeclination Read OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.142 GuideRateDeclination Write OK CanSetGuideRates is False and a PropertyNotImplementedException exception was generated as expected +20:25:14.174 GuideRateRightAscension Read OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.188 GuideRateRightAscension Write OK CanSetGuideRates is False and a PropertyNotImplementedException exception was generated as expected +20:25:14.220 IsPulseGuiding OK False +20:25:14.281 RightAscension OK 01:34:18.00 +20:25:14.313 RightAscensionRate Read OK 0.00 +20:25:14.346 RightAscensionRate Write OK CanSetRightAscensionRate is False and a PropertyNotImplementedException exception was generated as expected +20:25:14.380 SiteElevation Read OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.415 SiteElevation Write OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.426 SiteElevation Write OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.437 SiteElevation Write OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.494 SiteLatitude Read OK 00:00:00.00 +20:25:14.534 SiteLatitude Write OK Invalid Value exception generated as expected on set site latitude < -90 degrees +20:25:14.547 SiteLatitude Write OK Invalid Value exception generated as expected on set site latitude > 90 degrees +20:25:14.584 SiteLatitude Write OK Legal value 00:00:00.00 degrees written successfully +20:25:14.641 SiteLongitude Read OK -18:12:00.00 +20:25:14.675 SiteLongitude Write OK Invalid Value exception generated as expected on set site longitude < -180 degrees +20:25:14.690 SiteLongitude Write OK Invalid Value exception generated as expected on set site longitude > 180 degrees +20:25:14.784 SiteLongitude Write OK Legal value -18:12:00.00 degrees written successfully +20:25:14.829 Slewing OK False +20:25:14.863 SlewSettleTime Read OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.898 SlewSettleTime Write OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.911 SlewSettleTime Write OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.946 SideOfPier Read OK Optional member threw a PropertyNotImplementedException exception. +20:25:14.997 SiderealTime OK 09:03:29.25 +20:25:15.009 SiderealTime INFO Scope and ASCOM sidereal times are up to 0.5 hour different, Scope: 09:03:29.25, ASCOM: 09:09:54.36 +20:25:15.053 TargetDeclination Read OK .NET Not InvalidOperationException generated on read before write +20:25:15.087 TargetDeclination Write INFO Tests moved after the SlewToCoordinates tests so that Conform can check they properly set target coordinates. +20:25:15.100 TargetRightAscension Read OK .NET Not InvalidOperationException generated on read before write +20:25:15.138 TargetRightAscension Write INFO Tests moved after the SlewToCoordinates tests so that Conform can check they properly set target coordinates. +20:25:15.151 Tracking Read OK True +20:25:15.186 Tracking Write OK CanSetTracking is False and a PropertyNotImplementedException exception was generated as expected +20:25:15.226 TrackingRates Found drive rate: driveSidereal +20:25:15.240 TrackingRates OK Drive rates read OK +20:25:15.252 TrackingRates OK Disposed tracking rates OK +20:25:15.288 TrackingRates OK Successfully obtained a TrackingRates object after the previous TrackingRates object was disposed +20:25:15.300 TrackingRate Read ISSUE This member is mandatory but threw a PropertyNotImplementedException exception, it must function per the ASCOM specification. +20:25:15.393 UTCDate Read OK 02-May-2019 20:31:49.000 +20:25:15.555 UTCDate Write OK New UTCDate written successfully: 02/05/2019 21:31:49 Methods -18:42:21.516 CanMoveAxis:Primary OK CanMoveAxis:Primary True -18:42:21.551 CanMoveAxis:Secondary OK CanMoveAxis:Secondary True -18:42:21.587 CanMoveAxis:Tertiary OK CanMoveAxis:Tertiary False -18:42:21.623 Park/Unpark INFO Tests skipped -18:42:21.645 AbortSlew OK AbortSlew OK when not slewing -18:42:21.714 AxisRate:Primary OK Empty axis rate returned -18:42:21.726 AxisRate:Primary OK Disposed axis rates OK -18:42:21.739 AxisRate:Secondary OK Empty axis rate returned -18:42:21.754 AxisRate:Secondary OK Disposed axis rates OK -18:42:21.769 AxisRate:Tertiary OK Empty axis rate returned -18:42:21.782 AxisRate:Tertiary OK Disposed axis rates OK -18:42:21.797 FindHome OK CanFindHome is False and a MethodNotImplementedException exception was generated as expected -18:42:21.845 MoveAxis Primary WARNING MoveAxis tests skipped because there are no AxisRate values -18:42:21.860 MoveAxis Primary OK AxisRates object successfully disposed -18:42:21.922 MoveAxis Secondary WARNING MoveAxis tests skipped because there are no AxisRate values -18:42:21.934 MoveAxis Secondary OK AxisRates object successfully disposed -18:42:21.992 MoveAxis Tertiary OK CanMoveAxis Tertiary is False and a MethodNotImplementedException exception was generated as expected -18:42:24.032 PulseGuide OK Synchronous pulse guide found OK -18:42:24.128 SlewToCoordinates ISSUE CanSlew is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:24.178 SlewToCoordinates (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.224 SlewToCoordinates (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.283 SlewToCoordinates (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.326 SlewToCoordinates (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.412 SlewToCoordinatesAsync ISSUE CanSlewAsync is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:24.451 SlewToCoordinatesAsync (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.494 SlewToCoordinatesAsync (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.554 SlewToCoordinatesAsync (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.614 SlewToCoordinatesAsync (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.738 SyncToCoordinates ISSUE CanSync is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:24.777 SyncToCoordinates (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.824 SyncToCoordinates (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.885 SyncToCoordinates (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.929 SyncToCoordinates (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:24.988 TargetRightAscension Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:25.003 TargetRightAscension Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:25.043 TargetRightAscension Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:25.079 TargetDeclination Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:25.094 TargetDeclination Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:25.109 TargetDeclination Write OK Optional member threw a PropertyNotImplementedException exception. -18:42:25.174 SlewToTarget ISSUE CanSlew is True but can't set TargetRightAscension and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.188 SlewToTarget ISSUE CanSlew is True but can't set TargetDeclination and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.204 SlewToTarget ISSUE CanSlew is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.243 SlewToTarget (Bad L) ISSUE Exception setting bad RA coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.287 SlewToTarget (Bad L) ISSUE Exception setting bad Dec coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.347 SlewToTarget (Bad H) ISSUE Exception setting bad RA coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.392 SlewToTarget (Bad H) ISSUE Exception setting bad Dec coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.479 SlewToTargetAsync ISSUE CanSlewAsync is True but can't set TargetRightAscension and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.494 SlewToTargetAsync ISSUE CanSlewAsync is True but can't set TargetDeclination and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.513 SlewToTargetAsync ISSUE CanSlewAsync is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.552 SlewToTargetAsync (Bad L) ISSUE Exception setting bad RA coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.596 SlewToTargetAsync (Bad L) ISSUE Exception setting bad Dec coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.655 SlewToTargetAsync (Bad H) ISSUE Exception setting bad RA coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.699 SlewToTargetAsync (Bad H) ISSUE Exception setting bad Dec coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.760 DestinationSideOfPier Test skipped as AligmentMode is not German Polar -18:42:25.778 SlewToAltAz ISSUE CanSlewAltAz is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:25.820 SlewToAltAz (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:25.837 SlewToAltAz (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:25.899 SlewToAltAz (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:25.920 SlewToAltAz (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:25.984 SlewToAltAzAsync ISSUE CanSlewAltAzAsync is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:26.025 SlewToAltAzAsync (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:26.042 SlewToAltAzAsync (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:26.104 SlewToAltAzAsync (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:26.123 SlewToAltAzAsync (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. -18:42:26.239 SyncToTarget ISSUE CanSync is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:26.278 SyncToTarget (Bad L) ISSUE Exception setting bad RA coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:26.321 SyncToTarget (Bad L) ISSUE Exception setting bad Dec coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:26.382 SyncToTarget (Bad H) ISSUE Exception setting bad RA coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:26.427 SyncToTarget (Bad H) ISSUE Exception setting bad Dec coordinate and a PropertyNotImplementedException exception was thrown, this method must function per the ASCOM specification. -18:42:26.538 SyncToAltAz OK CanSyncAltAz is False and a MethodNotImplementedException exception was generated as expected +20:25:15.802 CanMoveAxis:Primary OK CanMoveAxis:Primary True +20:25:15.839 CanMoveAxis:Secondary OK CanMoveAxis:Secondary True +20:25:15.875 CanMoveAxis:Tertiary OK CanMoveAxis:Tertiary False +20:25:15.913 Park/Unpark INFO Tests skipped +20:25:15.937 AbortSlew OK AbortSlew OK when not slewing +20:25:16.003 AxisRate:Primary OK Empty axis rate returned +20:25:16.015 AxisRate:Primary OK Disposed axis rates OK +20:25:16.028 AxisRate:Secondary OK Empty axis rate returned +20:25:16.039 AxisRate:Secondary OK Disposed axis rates OK +20:25:16.052 AxisRate:Tertiary OK Empty axis rate returned +20:25:16.064 AxisRate:Tertiary OK Disposed axis rates OK +20:25:16.080 FindHome OK CanFindHome is False and a MethodNotImplementedException exception was generated as expected +20:25:16.131 MoveAxis Primary WARNING MoveAxis tests skipped because there are no AxisRate values +20:25:16.143 MoveAxis Primary OK AxisRates object successfully disposed +20:25:16.201 MoveAxis Secondary WARNING MoveAxis tests skipped because there are no AxisRate values +20:25:16.213 MoveAxis Secondary OK AxisRates object successfully disposed +20:25:16.270 MoveAxis Tertiary OK CanMoveAxis Tertiary is False and a MethodNotImplementedException exception was generated as expected +20:25:18.310 PulseGuide OK Synchronous pulse guide found OK +20:25:52.356 SlewToCoordinates OK Slewed OK. RA: 08:03:32.68 +20:25:52.369 SlewToCoordinates OK Slewed OK. DEC: 01:00:00.00 +20:25:52.403 SlewToCoordinates ERROR The TargetRightAscension property 08:03:32.00 does not match the expected RA 08:03:32.68 +20:25:52.438 SlewToCoordinates OK The TargetDeclination property 01:00:00.00 matches the expected Declination OK. +20:25:52.487 SlewToCoordinates (Bad L) ERROR Unexpected DriverException(0x80131500), slewing to bad RA coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope SlewToCoordinates System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be below 0 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 408 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.SlewToCoordinatesAsync(Double rightAscension, Double declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 544 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.SlewToCoordinates(Double rightAscension, Double declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 534 + at ASCOM.MeadeAutostar497.Telescope.SlewToCoordinates(Double RightAscension, Double Declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 794 (See Inner Exception for details) +20:26:12.283 SlewToCoordinates (Bad L) ERROR Failed to reject bad Dec coordinate: -100:00:00.00 +20:26:12.343 SlewToCoordinates (Bad H) ERROR Unexpected DriverException(0x80131500), slewing to bad RA coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope SlewToCoordinates System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be greater than 23:59:59 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 414 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.SlewToCoordinatesAsync(Double rightAscension, Double declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 544 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.SlewToCoordinates(Double rightAscension, Double declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 534 + at ASCOM.MeadeAutostar497.Telescope.SlewToCoordinates(Double RightAscension, Double Declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 794 (See Inner Exception for details) +20:26:17.522 SlewToCoordinates (Bad H) ERROR Unexpected DriverException(0x80131500), slewing to bad Dec coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope SlewToCoordinates System.TimeoutException: The operation has timed out. + at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count, Int32 timeout) + at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count) + at System.IO.Ports.SerialPort.InternalRead(Char[] buffer, Int32 offset, Int32 count, Int32 timeout, Boolean countMultiByteCharsAsOne) + at System.IO.Ports.SerialPort.ReadTo(String value) + at ASCOM.MeadeAutostar497.Controller.SerialProcessor.ReadTerminated(String terminator) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\SerialProcessor.cs:line 110 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.DoSlewAsync() in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 580 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.SlewToCoordinatesAsync(Double rightAscension, Double declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 547 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.SlewToCoordinates(Double rightAscension, Double declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 534 + at ASCOM.MeadeAutostar497.Telescope.SlewToCoordinates(Double RightAscension, Double Declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 794 (See Inner Exception for details) +20:26:36.353 SlewToCoordinatesAsync OK Slewed OK. RA: 07:04:32.06 +20:26:36.367 SlewToCoordinatesAsync OK Slewed OK. DEC: 02:00:00.00 +20:26:36.400 SlewToCoordinatesAsync OK The TargetRightAscension property 07:04:32.06 matches the expected RA OK. +20:26:36.437 SlewToCoordinatesAsync OK The TargetDeclination property 02:00:00.00 matches the expected Declination OK. +20:26:36.478 SlewToCoordinatesAsync (Bad L) ERROR Unexpected DriverException(0x80131500), slewing to bad RA coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope SlewToCoordinatesAsync System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be below 0 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 408 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.SlewToCoordinatesAsync(Double rightAscension, Double declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 544 + at ASCOM.MeadeAutostar497.Telescope.SlewToCoordinatesAsync(Double RightAscension, Double Declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 800 (See Inner Exception for details) +20:26:36.621 SlewToCoordinatesAsync (Bad L) ERROR Failed to reject bad Dec coordinate: -100:00:00.00 +20:26:36.681 SlewToCoordinatesAsync (Bad H) ERROR Unexpected DriverException(0x80131500), slewing to bad RA coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope SlewToCoordinatesAsync System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be greater than 23:59:59 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 414 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.SlewToCoordinatesAsync(Double rightAscension, Double declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 544 + at ASCOM.MeadeAutostar497.Telescope.SlewToCoordinatesAsync(Double RightAscension, Double Declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 800 (See Inner Exception for details) +20:26:41.892 SlewToCoordinatesAsync (Bad H) ERROR Unexpected DriverException(0x80131500), slewing to bad Dec coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope SlewToCoordinatesAsync System.TimeoutException: The operation has timed out. + at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count, Int32 timeout) + at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count) + at System.IO.Ports.SerialPort.InternalRead(Char[] buffer, Int32 offset, Int32 count, Int32 timeout, Boolean countMultiByteCharsAsOne) + at System.IO.Ports.SerialPort.ReadTo(String value) + at ASCOM.MeadeAutostar497.Controller.SerialProcessor.ReadTerminated(String terminator) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\SerialProcessor.cs:line 110 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.DoSlewAsync() in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 580 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.SlewToCoordinatesAsync(Double rightAscension, Double declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 547 + at ASCOM.MeadeAutostar497.Telescope.SlewToCoordinatesAsync(Double RightAscension, Double Declination) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 800 (See Inner Exception for details) +20:27:04.329 SyncToCoordinates OK Slewed to start position OK. RA: 06:04:56.54 +20:27:04.343 SyncToCoordinates OK Slewed to start position OK. DEC: 00:00:00.00 +20:27:04.360 SyncToCoordinates ISSUE CanSync is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. +20:27:04.400 SyncToCoordinates (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:04.447 SyncToCoordinates (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:04.509 SyncToCoordinates (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:04.558 SyncToCoordinates (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:04.618 TargetRightAscension Write ERROR Unexpected DriverException(0x80131500), : CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope TargetRightAscensionSet System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be below 0 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 408 + at ASCOM.MeadeAutostar497.Telescope.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 870 (See Inner Exception for details) +20:27:04.636 TargetRightAscension Write ERROR Unexpected DriverException(0x80131500), : CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope TargetRightAscensionSet System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be greater than 23:59:59 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 414 + at ASCOM.MeadeAutostar497.Telescope.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 870 (See Inner Exception for details) +20:27:04.742 TargetRightAscension Write OK Target RightAscension is within 5 seconds of the value set: 05:05:19.25 +20:27:04.825 TargetDeclination Write ISSUE No error generated on set TargetDeclination < -90 degrees +20:27:04.885 TargetDeclination Write ISSUE No error generated on set TargetDeclination > 90 degrees +20:27:04.965 TargetDeclination Write OK Legal value 01:00:00.00 DD:MM:SS written successfully +20:27:05.118 SlewToTarget ISSUE CanSlew is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. +20:27:05.160 SlewToTarget (Bad L) ERROR Unexpected DriverException(0x80131500), Exception setting bad RA coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope TargetRightAscensionSet System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be below 0 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 408 + at ASCOM.MeadeAutostar497.Telescope.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 870 (See Inner Exception for details) +20:27:05.294 SlewToTarget (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:05.355 SlewToTarget (Bad H) ERROR Unexpected DriverException(0x80131500), Exception setting bad RA coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope TargetRightAscensionSet System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be greater than 23:59:59 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 414 + at ASCOM.MeadeAutostar497.Telescope.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 870 (See Inner Exception for details) +20:27:05.490 SlewToTarget (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:05.666 SlewToTargetAsync ISSUE CanSlewAsync is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. +20:27:05.707 SlewToTargetAsync (Bad L) ERROR Unexpected DriverException(0x80131500), Exception setting bad RA coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope TargetRightAscensionSet System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be below 0 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 408 + at ASCOM.MeadeAutostar497.Telescope.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 870 (See Inner Exception for details) +20:27:05.857 SlewToTargetAsync (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:05.921 SlewToTargetAsync (Bad H) ERROR Unexpected DriverException(0x80131500), Exception setting bad RA coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope TargetRightAscensionSet System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be greater than 23:59:59 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 414 + at ASCOM.MeadeAutostar497.Telescope.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 870 (See Inner Exception for details) +20:27:06.056 SlewToTargetAsync (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:06.120 DestinationSideOfPier Test skipped as AligmentMode is not German Polar +20:27:06.139 SlewToAltAz ISSUE CanSlewAltAz is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. +20:27:06.185 SlewToAltAz (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:06.204 SlewToAltAz (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:06.266 SlewToAltAz (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:06.284 SlewToAltAz (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:06.348 SlewToAltAzAsync ISSUE CanSlewAltAzAsync is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. +20:27:06.389 SlewToAltAzAsync (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:06.412 SlewToAltAzAsync (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:06.475 SlewToAltAzAsync (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:06.493 SlewToAltAzAsync (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:22.333 SyncToTarget INFO Slewed to start position within 18.0 arc seconds of expected RA: 06:05:21.20, actual RA: 06:05:20.00 +20:27:22.348 SyncToTarget OK Slewed to start position OK. DEC: 00:00:00.00 +20:27:22.448 SyncToTarget ISSUE CanSync is True and a MethodNotImplementedException exception was thrown, this method must function per the ASCOM specification. +20:27:22.490 SyncToTarget (Bad L) ERROR Unexpected DriverException(0x80131500), Exception setting bad RA coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope TargetRightAscensionSet System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be below 0 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 408 + at ASCOM.MeadeAutostar497.Telescope.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 870 (See Inner Exception for details) +20:27:22.627 SyncToTarget (Bad L) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:22.690 SyncToTarget (Bad H) ERROR Unexpected DriverException(0x80131500), Exception setting bad RA coordinate: CheckDotNetExceptions ASCOM.MeadeAutostar497.Telescope TargetRightAscensionSet System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. + Parameter name: Right ascension value cannot be greater than 23:59:59 + at ASCOM.MeadeAutostar497.Controller.TelescopeController.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\Controller\TelescopeController.cs:line 414 + at ASCOM.MeadeAutostar497.Telescope.set_TargetRightAscension(Double value) in D:\Code\BitBucket\cjdSkunkWorks\Ascom\MeadeAutostar497\MeadeAutostar497\AscomClasses\Telescope.cs:line 870 (See Inner Exception for details) +20:27:22.822 SyncToTarget (Bad H) ISSUE This member is mandatory but threw a MethodNotImplementedException exception, it must function per the ASCOM specification. +20:27:22.979 SyncToAltAz OK CanSyncAltAz is False and a MethodNotImplementedException exception was generated as expected + +SideOfPier Model Tests +20:27:23.049 SideOfPier Model Tests INFO Tests skipped because this driver does Not support SideOfPier Read Post-run Checks -18:42:26.651 Mount Safety INFO Tracking can't be turned off for this mount, please switch off manually. +20:27:23.142 Mount Safety INFO Tracking can't be turned off for this mount, please switch off manually. Conformance test complete -Your driver had 0 errors, 2 warnings and 45 issues +Your driver had 17 errors, 2 warnings and 27 issues diff --git a/MeadeAutostar497/AscomClasses/Telescope.cs b/MeadeAutostar497/AscomClasses/Telescope.cs index 4dba4a4..c11a5c5 100644 --- a/MeadeAutostar497/AscomClasses/Telescope.cs +++ b/MeadeAutostar497/AscomClasses/Telescope.cs @@ -651,7 +651,7 @@ namespace ASCOM.MeadeAutostar497 { get { - double rightAscension = 0.0; + double rightAscension = _telescopeController.RightAscension; tl.LogMessage("RightAscension", "Get - " + utilities.HoursToHMS(rightAscension)); return rightAscension; } @@ -790,14 +790,14 @@ namespace ASCOM.MeadeAutostar497 public void SlewToCoordinates(double RightAscension, double Declination) { - tl.LogMessage("SlewToCoordinates", "Not implemented"); - throw new ASCOM.MethodNotImplementedException("SlewToCoordinates"); + tl.LogMessage("SlewToCoordinates", $"Ra={RightAscension}, Dec={Declination}"); + _telescopeController.SlewToCoordinates(RightAscension, Declination); } public void SlewToCoordinatesAsync(double RightAscension, double Declination) { - tl.LogMessage("SlewToCoordinatesAsync", "Not implemented"); - throw new ASCOM.MethodNotImplementedException("SlewToCoordinatesAsync"); + tl.LogMessage("SlewToCoordinatesAsync", $"Ra={RightAscension}, Dec={Declination}"); + _telescopeController.SlewToCoordinatesAsync(RightAscension, Declination); } public void SlewToTarget() @@ -845,13 +845,14 @@ namespace ASCOM.MeadeAutostar497 { get { - tl.LogMessage("TargetDeclination Get", "Not implemented"); - throw new ASCOM.PropertyNotImplementedException("TargetDeclination", false); + var targetDec = _telescopeController.TargetDeclination; + tl.LogMessage("TargetDeclination Get", $"{targetDec}"); + return targetDec; } set - { - tl.LogMessage("TargetDeclination Set", "Not implemented"); - throw new ASCOM.PropertyNotImplementedException("TargetDeclination", true); + { + tl.LogMessage("TargetDeclination Set", $"{value}"); + _telescopeController.TargetDeclination = value; } } @@ -859,13 +860,14 @@ namespace ASCOM.MeadeAutostar497 { get { - tl.LogMessage("TargetRightAscension Get", "Not implemented"); - throw new ASCOM.PropertyNotImplementedException("TargetRightAscension", false); + var targetRa = _telescopeController.TargetRightAscension; + tl.LogMessage("TargetRightAscension Get", $"{targetRa}"); + return targetRa; } set { - tl.LogMessage("TargetRightAscension Set", "Not implemented"); - throw new ASCOM.PropertyNotImplementedException("TargetRightAscension", true); + tl.LogMessage("TargetRightAscension Set", $"{value}"); + _telescopeController.TargetRightAscension = value; } } diff --git a/MeadeAutostar497/Controller/ITelescopeController.cs b/MeadeAutostar497/Controller/ITelescopeController.cs index 7815e6f..8bf8d05 100644 --- a/MeadeAutostar497/Controller/ITelescopeController.cs +++ b/MeadeAutostar497/Controller/ITelescopeController.cs @@ -14,11 +14,16 @@ namespace ASCOM.MeadeAutostar497.Controller double SiteLongitude { get; set; } AlignmentModes AlignmentMode { get; set; } bool AtPark { get; } - double Azimuth { get; } - double Declination { get; } double Altitude { get; } + double Azimuth { get; } + double RightAscension { get; } + double Declination { get; } + double TargetRightAscension { get; set; } + double TargetDeclination { get; set; } void AbortSlew(); void PulseGuide(GuideDirections direction, int duration); void Park(); + void SlewToCoordinates(double rightAscension, double declination); + void SlewToCoordinatesAsync(double rightAscension, double declination); } } \ No newline at end of file diff --git a/MeadeAutostar497/Controller/TelescopeController.cs b/MeadeAutostar497/Controller/TelescopeController.cs index 97757cf..8ebebf5 100644 --- a/MeadeAutostar497/Controller/TelescopeController.cs +++ b/MeadeAutostar497/Controller/TelescopeController.cs @@ -3,12 +3,16 @@ using System.IO.Ports; using System.Linq; using System.Threading; using ASCOM.DeviceInterface; +using ASCOM.Utilities; +using ASCOM.Utilities.Interfaces; namespace ASCOM.MeadeAutostar497.Controller { //todo stop this being a singleton, and instead use a server to make only a single instance. public sealed class TelescopeController : ITelescopeController { + private const double INVALID_PARAMETER = -1000; + private static readonly Lazy Lazy = new Lazy(); public static TelescopeController Instance => Lazy.Value; @@ -33,6 +37,19 @@ namespace ASCOM.MeadeAutostar497.Controller } } + private IUtil _util; + public IUtil Util + { + get => _util ?? (_util = new Util()); + set + { + if (Equals(_util, value)) + return; + + _util = value; + } + } + private string _port = "COM1"; public string Port { @@ -333,6 +350,25 @@ namespace ASCOM.MeadeAutostar497.Controller } } + public double RightAscension { + get + { + var result = SerialPort.CommandTerminated(":GR#", "#"); + //:GR# Get Telescope RA + //Returns: HH: MM.T# or HH:MM:SS# + //Depending which precision is set for the telescope + + double ra = HmsToDouble(result); + + return ra; + } + } + + private double HmsToDouble(string hms) + { + return Util.HMSToHours(hms); + } + public double Declination { get @@ -348,6 +384,89 @@ namespace ASCOM.MeadeAutostar497.Controller } } + private double _targetRightAscension = INVALID_PARAMETER; + public double TargetRightAscension { + get + { + if (_targetRightAscension == INVALID_PARAMETER) + throw new ASCOM.InvalidOperationException("Target not set"); + + var result = SerialPort.CommandTerminated(":Gr#", "#"); + //:Gr# Get current/target object RA + //Returns: HH: MM.T# or HH:MM:SS + //Depending upon which precision is set for the telescope + + double targetDec = HmsToDouble(result); + + return targetDec; + } + set + { + if (value < 0) + throw new ArgumentOutOfRangeException("Right ascension value cannot be below 0"); + + if (value >= 24) + throw new ArgumentOutOfRangeException("Right ascension value cannot be greater than 23:59:59"); + + + //todo implement the low precision version + + var hms = _util.HoursToHMS(value, ":", ":", ":", 2); + var response = SerialPort.CommandChar($":Sr{hms}#"); + //:SrHH:MM.T# + //:SrHH:MM:SS# + //Set target object RA to HH:MM.T or HH: MM: SS depending on the current precision setting. + // Returns: + //0 – Invalid + //1 - Valid + + if (response == '0') + throw new InvalidOperationException("Failed to set TargetRightAscension."); + + _targetRightAscension = value; + } + } + + private double _targetDeclination = INVALID_PARAMETER; + public double TargetDeclination { + get + { + if (_targetDeclination == INVALID_PARAMETER) + throw new ASCOM.InvalidOperationException("Target not set"); + + var result = SerialPort.CommandTerminated(":Gd#", "#"); + //:Gd# Get Currently Selected Object/Target Declination + //Returns: sDD* MM# or sDD*MM’SS# + //Depending upon the current precision setting for the telescope. + + double targetDec = DmsToDouble(result); + + return targetDec; + + } + set + { + //todo implement low precision version of this. + + var dms = _util.DegreesToDMS(value, "*", ":", ":", 2); + var s = value < 0 ? '-' : '+'; + + var result = SerialPort.CommandChar($":Sd{s}{dms}#"); + //:SdsDD*MM# + //Set target object declination to sDD*MM or sDD*MM:SS depending on the current precision setting + //Returns: + //1 - Dec Accepted + //0 – Dec invalid + + if (result == '0') + { + throw new ASCOM.InvalidOperationException("Target declination invalid"); + } + + _targetDeclination = value; + } + } + public double Altitude { get { @@ -410,6 +529,62 @@ namespace ASCOM.MeadeAutostar497.Controller _serialPort.Command(":hP#"); } + public void SlewToCoordinates(double rightAscension, double declination) + { + SlewToCoordinatesAsync(rightAscension, declination); + + while (Slewing) //wait for slew to complete + { + _util.WaitForMilliseconds(200); //be responsive to AbortSlew(); + } + } + + public void SlewToCoordinatesAsync(double rightAscension, double declination) + { + TargetRightAscension = rightAscension; + TargetDeclination = declination; + + DoSlewAsync(); + } + + private void DoSlewAsync() + { + char response = Char.MinValue; + switch (AlignmentMode) + { + case AlignmentModes.algPolar: + response = SerialPort.CommandChar(":MS#"); + //:MS# Slew to Target Object + //Returns: + //0 Slew is Possible + //1# Object Below Horizon w/string message + //2# Object Below Higher w/string message + break; + case AlignmentModes.algAltAz: + break; + default: + throw new ASCOM.NotImplementedException("Not implemented"); + } + + switch (response) + { + case '0': + //We're slewing everything should be working just fine. + break; + case '1': + //Below Horizon + string belowHorizonMessage = SerialPort.ReadTerminated("#"); + throw new ASCOM.InvalidOperationException(belowHorizonMessage); + case '2': + //Below Horizon + string belowMinimumElevationMessage = SerialPort.ReadTerminated("#"); + throw new ASCOM.InvalidOperationException(belowMinimumElevationMessage); + default: + throw new ASCOM.DriverException("This error should not happen"); + + } + } + public bool UserNewerPulseGuiding { get; set; } = true; //todo make this a device setting } } diff --git a/TestConsole/Program.cs b/TestConsole/Program.cs index 992d4ef..a0d1525 100644 --- a/TestConsole/Program.cs +++ b/TestConsole/Program.cs @@ -47,15 +47,19 @@ namespace ASCOM //Console.WriteLine(device.UTCDate.ToLocalTime()); - Console.WriteLine(device.AlignmentMode); + //Console.WriteLine(device.AlignmentMode); - double l = device.SiteLatitude; - device.SiteLatitude = l; + + + //double l = device.SiteLatitude; + //device.SiteLatitude = l; //double l = device.SiteLongitude; //device.SiteLongitude = l; //Console.WriteLine(device.SiteLongitude); + Console.WriteLine(device.RightAscension); + device.Connected = false; Console.WriteLine("Press Enter to finish"); Console.ReadLine();