Hello
I start a new post with all the files at disposal for analysis with this link and a small video to show the bug.
I shared all the file with this linK :
https://share.orange.fr/#QiBbKZT1zw284dd130f beware this is not the right link , see below the good one
https://share.orange.fr/#5oe64AjWGb284dd7cec
Please HELP me with this bug
Arnaud
You will see in the video that the focuser is not reponsponding to commands but something happens between SGPro and the focuser when you open the “Control Panel” at the “focuser tab”, at the botton , you can see the activuity , and it is constantly switching from idle to focuser. To stop it , I just disconnect the focuser….
after reconnection the focuser becomes crazy … it moves without any command
Please see this video
I am testing the configuration on my desk with my test computer . I always do so before going to my remote place and install everything there. Usually it prevents me from lots of problem directly on field.
So
I redo all the testing with my desktop computer , but this time with all the setup and config files from my remote , I mean with the equipement and localisation files used by SGPro and a .sgf file of SGPro.
I shared all the file with this linK :
https://share.orange.fr/#QiBbKZT1zw284dd130f beware this is not the right link , see below the good one
https://share.orange.fr/#5oe64AjWGb284dd7cec
12:58
-
I power ON the LACERTA Controller with the Motor attached to it,
-
I launch SGPro on my computer
-
I connect the Focuser = >OK connected
-
Initial Current position : 6251
-
I push the button “Fine” IN with a steps of 5 => the motor move only 1 step (not the 10 asked)
Current Position : 6250
=> FIRST BUG -
I push the button “Fine” OUT with a steps of 5 => the motor DOES NOTmove at ALL ,
Current Position : 6250 -
I push the button “Coarse” OUT with a steps of 200 => the motor DOES NOTmove at ALL ,
Current Position : 6250 -
I push the button “Coarse” IN with a steps of 200 => the motor DOES NOTmove at ALL ,
Current Position : 6250
If you look at the log , you see nothing about these 3 commands corresponding to 6) 7) and 8)
13:02 -
Nothing works , the Focuser is not reponsding so I disconnect it and reconnect it at 13:02
-
The focuser si redoing ALMOST ALL the commands that were not executed earlier , and at the end the current position is now : 6449
-
Without BUG , the expected position will be the start/initial position because -5+5-200+200 = 0 zero , but it is not 6251 but 6449
-
Fine IN , Fin Out , Coarse IN and Coarse OUT = ALL OK and the final position is GOOD with 6449.
13:08 -
Disconnect focuser and killing SGPro at 18:55
IN the log :
5) commands of FINE IN of -5 => [08/01/19 12:59:29.913][DEBUG] [Focuser Thread] SGM_FOCUSER_MOVE_REL message received…
[08/01/19 12:59:30.016][DEBUG] [Focuser Thread] Focuser moving to 6246
[08/01/19 12:59:30.016][DEBUG] [Focuser Thread] Focuser backlash active, modified move to 6196
[08/01/19 12:59:30.021][DEBUG] [Focuser Thread] Focuser move call complete
[08/01/19 12:59:30.023][DEBUG] [Focuser Backlash Thread] Focuser backlash thread has started…
The focuser current position is only 6250 instead of expected 6246) nothing move after …
The 3 commands FINE OUT , COARSE IN and COARSE OU are not seen in the log , the fouser did not move at all
I disconnect the focuser at 13:02 , It is written below , OK =>
[08/01/19 13:02:37.928][DEBUG] [Main Thread] Disconnecting ASCOM Focuser: ASCOM.MotorFocus.Focuser
All log files of the above script are at your disposal with the link
The video was done just after the script above.
Arnaud