Hello Jared ,
Now for the first Bug : this the log file : sg_logfile_20190730184919.txt
As I wrote before , the first thing that is not normal is :
- After connexion, the fisrt Move IN or OUT is always 1 step , (even if you ask for 10, 200 or 2000 steps),
It is not a big problem , but I did it 100 of times, and the first move is always 1 step instead of the 10 for my case.
NOT important , just to share.
After this, in the example , I tried to show that the button STOP of the focus Dock window has strange behaviour.
Usually , if I push only once the STOP button , the focus command are dead,
In fact , there is 2 behaviours when I pushed the STOP button:
The use of the Stop button of the docking windows named “Focus control” always causes 2 problems sometines the first one , and sometimes the second one (I did it a 100 times , I can not say , why , it is sometimes , the problem #1) or #2) :
#2 Or , the following move IN or OUT is reduced by only one Step (even if you ask for 10, 200 or 2000 steps), and after that phase , the asked moves IN or Out are repected , and OK
#1 : Some time , all following move IN or OUT are completely ignored, and after disconnection and reconnection, the focuser goes crazy ( IN move) , If you stop It (STOP button) , It will do all the commands that you tried without success before disconnecting it !
If you look at the log, what is written is VERY INTERESTING after the push of the STOP button , I pushed 4 buttons (IN fine , OUT fine , IN Coarse , and OU Coarse)
So the first command of FINE 10 is received by SGP but not executed , WHY ?:
in the log :
07/30/19 18:54:29.867][DEBUG] [Focuser Thread] Focuser moving to 10
[07/30/19 18:54:29.867][DEBUG] [Focuser Thread] ASCOM Focuser: MaxStep is 0. Ignoring this, hopefully bad things don’t follow.
[07/30/19 18:54:29.868][DEBUG] [Focuser Thread] Focuser move call complete
You can see the same behaviour with the following 3 commands (OUT fine , IN Coarse , and OU Coarse), Totally ignored by SGP , WHY ?
So in this situtaion , the focuser is dead , big bug no ?
After the disconnection and reconnection of the focuser , the crazy phase of the focuser is not written
Tell me , if the strange behaviour are clearer to you , I really did hours and hours of testing , and the STOP button is like a kill button
best regards ARnaud