Re: ASCOM driver incorrect LST problem


Andy Galasso
 

Hi Ray,

I am using a real serial port on the PC, not a USB-serial adapter.

I looked at the log and do not see any evidence of transmit errors, other than a single error at the very beginning of the log which was due to the ASCOM driver starting up before the mount was powered on:

000006 2015-06-16 18:14:20.214:       Initialize: Info      : SafeSlewRaDec = 1
000007 2015-06-16 18:14:20.370:            ASCOM: Info      : SET Connected = True
000008 2015-06-16 18:14:20.464:           Serial: Info      : Setting serial receive timeout (mSecs): 500
000009 2015-06-16 18:14:20.479:           Serial: Info      : AP Serial - Port = 1, Speed = 9600, Timeout = 500ms
000010 2015-06-16 18:14:20.760:        Telescope: Info      : CommandString TX=':V#'
000011 2015-06-16 18:14:21.291:        Telescope: Warning   : Retransmits: 1
000012 2015-06-16 18:14:21.415:        Telescope: Error     : CommandString: NO Response or bad response: ':V#', Response='' -> Giving up!
000013 2015-06-16 18:14:21.431:        Telescope: Error     : RECEIVE TERMINATED ERRORS: 1
000014 2015-06-16 18:14:21.447:           Driver: Info      : CommandClear()
000015 2015-06-16 18:14:21.761:   OpenConnection: Error     : OpenConnection Failed. No response from COM1
000016 2015-06-16 18:14:21.776:      Connections: Info      : CloseConnection: Scope Clients/Connects=1/0, Focuser Clients/Connects=0/0

The mount was powered on at about 20:26.

The first request for SiderealTime was at 20:28:58.307.  There were lots of ASCOM requests for SiderealTime, but they all gave the wrong value (~18 hrs).

The log also showed several requests for sidereal time from the mount (:GS#), and those all returned the correct value (~13 hrs).  Again, no evidence of communication errors. (log entries pasted below)

So it looks like the ASCOM driver was returning it's own (incorrect) sidereal time, despite the mount reporting the correct sidereal time.

Andy

$ egrep -i 'Sidereal|:GS#' AP_ASCOM_2015-06-16_18-14-20.log
001692 2015-06-16 20:28:58.307:            ASCOM: Info      : GET SiderealTime = 18.1464039062336
002817 2015-06-16 20:30:28.646:            ASCOM: Info      : GET SiderealTime = 18.1715668207501
003189 2015-06-16 20:30:58.886:            ASCOM: Info      : GET SiderealTime = 18.1799898319705
003561 2015-06-16 20:31:29.087:            ASCOM: Info      : GET SiderealTime = 18.1884019802691
003886 2015-06-16 20:31:55.255:            ASCOM: Info      : GET SiderealTime = 18.1956907890098
005238 2015-06-16 20:33:27.061:           Driver: Info      : CommandString TX=':GS#'
005239 2015-06-16 20:33:27.091:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:27:45.3#'
005317 2015-06-16 20:33:30.405:            ASCOM: Info      : GET SiderealTime = 18.2221937611603
005353 2015-06-16 20:33:32.245:           Driver: Info      : CommandString TX=':GS#'
005354 2015-06-16 20:33:32.275:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:27:50.5#'
005435 2015-06-16 20:33:37.361:           Driver: Info      : CommandString TX=':GS#'
005436 2015-06-16 20:33:37.391:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:27:55.6#'
005522 2015-06-16 20:33:42.521:           Driver: Info      : CommandString TX=':GS#'
005523 2015-06-16 20:33:42.551:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:00.8#'
005607 2015-06-16 20:33:47.580:           Driver: Info      : CommandString TX=':GS#'
005608 2015-06-16 20:33:47.610:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:05.9#'
005685 2015-06-16 20:33:52.652:           Driver: Info      : CommandString TX=':GS#'
005686 2015-06-16 20:33:52.682:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:11.0#'
005771 2015-06-16 20:33:57.782:           Driver: Info      : CommandString TX=':GS#'
005772 2015-06-16 20:33:57.812:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:16.1#'
005823 2015-06-16 20:34:00.533:            ASCOM: Info      : GET SiderealTime = 18.2305855763691
005863 2015-06-16 20:34:02.864:           Driver: Info      : CommandString TX=':GS#'
005864 2015-06-16 20:34:02.894:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:21.2#'
005943 2015-06-16 20:34:07.936:           Driver: Info      : CommandString TX=':GS#'
005944 2015-06-16 20:34:07.966:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:26.2#'
006017 2015-06-16 20:34:12.996:           Driver: Info      : CommandString TX=':GS#'
006018 2015-06-16 20:34:13.026:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:31.4#'
006107 2015-06-16 20:34:18.139:           Driver: Info      : CommandString TX=':GS#'
006108 2015-06-16 20:34:18.169:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:36.5#'
006189 2015-06-16 20:34:23.180:           Driver: Info      : CommandString TX=':GS#'
006190 2015-06-16 20:34:23.210:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:41.6#'
006268 2015-06-16 20:34:28.266:           Driver: Info      : CommandString TX=':GS#'
006269 2015-06-16 20:34:28.296:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:46.6#'
006312 2015-06-16 20:34:30.668:            ASCOM: Info      : GET SiderealTime = 18.2389793418538
006361 2015-06-16 20:34:33.348:           Driver: Info      : CommandString TX=':GS#'
006362 2015-06-16 20:34:33.378:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:51.7#'
006443 2015-06-16 20:34:38.385:           Driver: Info      : CommandString TX=':GS#'
006444 2015-06-16 20:34:38.415:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:28:56.8#'
006522 2015-06-16 20:34:43.475:           Driver: Info      : CommandString TX=':GS#'
006523 2015-06-16 20:34:43.505:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:29:01.9#'
006606 2015-06-16 20:34:48.518:           Driver: Info      : CommandString TX=':GS#'
006607 2015-06-16 20:34:48.548:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:29:07.0#'
006693 2015-06-16 20:34:53.682:           Driver: Info      : CommandString TX=':GS#'
006694 2015-06-16 20:34:53.712:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:29:12.1#'
006775 2015-06-16 20:34:58.777:           Driver: Info      : CommandString TX=':GS#'
006776 2015-06-16 20:34:58.807:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:29:17.3#'
006812 2015-06-16 20:35:00.829:            ASCOM: Info      : GET SiderealTime = 18.2473803486445
006864 2015-06-16 20:35:03.869:           Driver: Info      : CommandString TX=':GS#'
006865 2015-06-16 20:35:03.899:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:29:22.4#'
006948 2015-06-16 20:35:09.045:           Driver: Info      : CommandString TX=':GS#'
006949 2015-06-16 20:35:09.075:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:29:27.6#'
007236 2015-06-16 20:35:24.588:           Driver: Info      : CommandString TX=':GS#'
007237 2015-06-16 20:35:24.618:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:29:43.2#'
007328 2015-06-16 20:35:29.807:           Driver: Info      : CommandString TX=':GS#'
007329 2015-06-16 20:35:29.837:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:29:48.4#'
007354 2015-06-16 20:35:31.019:            ASCOM: Info      : GET SiderealTime = 18.2557894330238
007420 2015-06-16 20:35:34.935:           Driver: Info      : CommandString TX=':GS#'
007421 2015-06-16 20:35:34.965:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:29:53.5#'
007506 2015-06-16 20:35:40.104:           Driver: Info      : CommandString TX=':GS#'
007507 2015-06-16 20:35:40.134:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:29:58.6#'
007588 2015-06-16 20:35:45.174:           Driver: Info      : CommandString TX=':GS#'
007589 2015-06-16 20:35:45.204:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:30:03.8#'
007671 2015-06-16 20:35:50.227:           Driver: Info      : CommandString TX=':GS#'
007672 2015-06-16 20:35:50.257:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:30:08.8#'
007756 2015-06-16 20:35:55.347:           Driver: Info      : CommandString TX=':GS#'
007757 2015-06-16 20:35:55.377:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:30:14.0#'
007842 2015-06-16 20:36:00.527:           Driver: Info      : CommandString TX=':GS#'
007843 2015-06-16 20:36:00.557:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:30:19.2#'
007852 2015-06-16 20:36:01.169:            ASCOM: Info      : GET SiderealTime = 18.2641873757203
007924 2015-06-16 20:36:05.589:           Driver: Info      : CommandString TX=':GS#'
007925 2015-06-16 20:36:05.619:           Driver: Info      : CommandString Reply Received (TX=':GS#'), RX='13:30:24.2#'
007987 2015-06-16 20:36:09.159:            ASCOM: Info      : GET SiderealTime = 18.2664129003468
...

Join main@ap-gto.groups.io to automatically receive all group messages.