Reset ASCOM focuser to Zero

I have written my own ASCOM focusing driver and it works great with SGP.
But SGP has a reset position to Zero.
What command do you send to the ASCOM Focuser to do this as I would like to implement this in to my own driver?

Raoul.

It’s not a sync. It’s a Move(0). Essentially a shortcut to rack the focuser in.

Thanks,
Jared

Hi Raoul,

The “Zero” command in SGP moves the focuser “in” until it reaches the 0 position (quoting the tool tip). Given that SGP uses standard ASCOM Methods and Properties, the only way to do that is to issue a myFocuser.Move(0) command.

Kind regards,
Horia

Jared, Horia,

Thank you for the quick response.
The clears that one up. I thought it did a reset making the current position, position 0.

Raoul

No. ASCOM doesn’t expose a “sync” for the focuser. If you want that behavior you’ll need to create it in the Setup dialog for your focuser (this is pretty much what all focuser drivers do).

It sounds like you have things under control…but there is an example in a very simple ASCOM driver I wrote a while back:

Thanks,
Jared