How to sync 3computers-telescopes with astroart

Scripts and programs to automate Astroart
Post Reply
Forum_2016
Posts: 219
Joined: 08 Dec 2018, 13:30

How to sync 3computers-telescopes with astroart

Post by Forum_2016 »

Hi, Is it possible to design an Astroart script to capture images from three different computers (with an Astroart installation on each one)?
I mean:

script A: it will control three telescopes (each one on a different computer)
script B: it will receive commands from server to capture images

computer1+telescope1: scripts A and B
computer2+telescope2: script B
computer3+telescope3: script B

Thanks,
Carlos

Forum_2016
Posts: 219
Joined: 08 Dec 2018, 13:30

Re: How to sync 3computers-telescopes with astroart

Post by Forum_2016 »

Hi, some users use a text file on shared folder. The master PC writes a text file which contains the command, for example:

fileName = "C:\MySharedFolder\MyFile.txt"

SaveText("START", fileName)

The slave PCs read/poll it, for example:

fileName = "\\MyMasterPC\MySharedFolder\MyFile.txt"

<cycle>
Pause(1)
command = OpenText(fileName)
if command = "START" then .....
if command = "END" then .....
if command = "GUIDE" then .....
<end cycle>

Forum_2016
Posts: 219
Joined: 08 Dec 2018, 13:30

Re: How to sync 3computers-telescopes with astroart

Post by Forum_2016 »

Hi, thanks! We'll try it.

Carlos

Post Reply