Re: Focuser issue uncovers log "can of worms"
Posted: Sat Jan 11, 2025 2:42 pm
Ok, so just in case I forget to reply to this on Monday, I added what I hope is a workaround for this to the code.
If the focuser has 'CPWI' in the name then the workaround will activate, and the moving status as far as SharpCap is concerned will be set back to 'not moving' if the position has been constant for at least 3 seconds and at at least 3 successive reads from the ASCOM driver - that will happen even if the ASCOM driver says that it is still moving. You would probably notice this as a few seconds delay after the move completes before the UI reactivates when this is happening - if the ASCOM driver behaves itself then the delay won't be there.
cheers,
Robin
If the focuser has 'CPWI' in the name then the workaround will activate, and the moving status as far as SharpCap is concerned will be set back to 'not moving' if the position has been constant for at least 3 seconds and at at least 3 successive reads from the ASCOM driver - that will happen even if the ASCOM driver says that it is still moving. You would probably notice this as a few seconds delay after the move completes before the UI reactivates when this is happening - if the ASCOM driver behaves itself then the delay won't be there.
cheers,
Robin