Page 1 of 1

Script to switch between MainCam and GuideCam?

Posted: 19 Apr 2026, 14:59
by SternwarteFreimann
I want to use my ASCOM Guidecam to target the object and then switch to the main cam (ASCOM) to start a series of images.
This script does not work. Command Guider.Close does not work. Any ideas how to do this?
Thanks, Nicolaus

Re: Script to switch between MainCam and GuideCam?

Posted: 20 Apr 2026, 15:36
by fabdev
Hi, the correct command would be "Guider.Disconnect", however in your code there is no need for it since the command "Camera.Disconnect" disconnects also the guider.
Fabio.

Re: Script to switch between MainCam and GuideCam?

Posted: 21 Apr 2026, 09:56
by SternwarteFreimann
Thanks, but how can I select in a script the Guidecam to make an image?
Main and Guide camera are connected.
Which camera is selected with the command "Camera.Start(1)"?
Saluti, Nico

Re: Script to switch between MainCam and GuideCam?

Posted: 21 Apr 2026, 14:57
by SternwarteFreimann
Sorry, after some searching and trials I found the solution. It is the command: Guider.ShortExposure
;)