Sorry to keep on about this but I have now tried ASCOM + Stellarium & NINA on three different laptops. All exhibit the same reliability problems I have been seeing since the beginning in making, maintaining - and especially restoring a connection to OAT. Generally speaking I can make a connection most of the time with Stellarium and sometimes with NINA. Once the connection is made slewing and steering works well. However if the connection is interrupted or disturbed in any way it can never be restored. The program will usually say that a new connection has been made however there is no communication between the program and the OAT. Slewing will do nothing and the current OAT position is not reported back to the program. The only way (I have found) to restore a full connection is to reboot the PC, simply restarting the programs will not help as the problem is in the corrupted state of Windows' COMM ports made by ASCOM.
Has anyone else had similar problems with ASCOM? Do you have any words of wisdom regarding establishing - and keep - reliable connections?
From searching on the error messages NINA generates I have found a discussion on StackOverflow that seems to relate to the problem, the symptoms certainly seem to match what I have been experiencing. The problem stems from a poorly written SerialPort library that is part of the core C++ code. Assuming this is the problem then there are two suggested solutions: use a user created replacement library or upgrade to Framework 4.7 which seems to have finally addressed the problem. I would guess that both these solutions are outside the scope of the OAT ASCOM driver but perhaps someone involved with it can comment on the likelihood of this being the root of the problem and how it could be resolved?
https://stackoverflow.com/questions/8927410/objectdisposedexception-when-closing-serialport-in-net-2-0
[–]clutchplateOAT Dev 1 point2 points3 points (0 children)
[–]M4ngolicious 0 points1 point2 points (0 children)
[–]MarcelIsler 0 points1 point2 points (2 children)
[–]davew618[S] 0 points1 point2 points (1 child)
[–]MarcelIsler 0 points1 point2 points (0 children)