How to close auto-guider sub-screen?

Scripts and programs to automate Astroart
Post Reply
Forum_2014
Posts: 253
Joined: 03 Dec 2018, 22:33

How to close auto-guider sub-screen?

Post by Forum_2014 »

Hello Everyone,

I wrote the auto-pilot script commands, example as follows :

exposuretime = 60
DDR$="d:/Test"
createdir(DDR$)
DDR$=DDR$+"/"
n = Telescope.List.Count
Guider.Select(2)
Wheel.Goto(1)
for i = 1 to n
ra = Telescope.List.Ra(i)
de = Telescope.List.Dec(i)
name$ = Telescope.List.Name$(i)
Telescope.Goto(ra,de)
Telescope.Wait
Pause(20)
Camera.StartAutoguide()
Camera.Start(exposuretime)
Camera.Wait
Camera.StopAutoguide()
Image.Save(DDR$ + name$ + ".fit")
Image.close
next i

In this case, it shew auto-guided screen on my PC every exposing shot.
How to close auto-guided sub-screen every shot ?
Last edited by Forum_2014 on 08 Dec 2018, 00:09, edited 1 time in total.

Forum_2014
Posts: 253
Joined: 03 Dec 2018, 22:33

Re: How to close auto-guider sub-screen?

Post by Forum_2014 »

It looks like you are using an older user interface (Guider.Select) is not needed with the new interface, (Camera.StopAutoguide) may not be supported in the UI you are using.Try using (Guider.Close)

To close an open image use "Image.Close" this will close the active image, so it must be run for each open image.

Post Reply