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
How to sync 3computers-telescopes with astroart
-
- Posts: 219
- Joined: 08 Dec 2018, 13:30
-
- Posts: 219
- Joined: 08 Dec 2018, 13:30
Re: How to sync 3computers-telescopes with astroart
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>
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>
-
- Posts: 219
- Joined: 08 Dec 2018, 13:30
Re: How to sync 3computers-telescopes with astroart
Hi, thanks! We'll try it.
Carlos
Carlos