User Tools

Site Tools



TCP/IP server

If you activate the server in the preferences you can connect locally or remotely to get informations about the program.

The program listen on port 3277 and use the following command:

status Return the devices connection status
sequence Return informations about current sequence
capture The capture informations in the status bar
log The last 10 lines of the current log
quit disconnect from the server

For example:

$ telnet localhost 3277
Trying ::1...
Connected to localhost.
Escape character is '^]'.
OK! id=1

Planetarium connected, Autoguider guiding, Devices connected

Targets: test1 Plan: L-3x2 Start step R

Seq: 2 Exp: 19 sec. Saved /home/pch/Capture/M13_Red_20180217_161453.fits 1392x1040

17:13:46:Saved file /home/pch/Capture/M13_Red_20180217_161346.fits
17:13:46:Starting Light exposure 2 for 20 seconds
17:14:07:Saved file /home/pch/Capture/M13_Red_20180217_161407.fits
17:14:07:Starting Light exposure 3 for 20 seconds
17:14:27:Saved file /home/pch/Capture/M13_Red_20180217_161427.fits
17:14:27:Stop capture
17:14:33:Start step R
17:14:33:Start capture
17:14:33:Starting Light exposure 1 for 20 seconds
17:14:53:Saved file /home/pch/Capture/M13_Red_20180217_161453.fits
17:14:53:Starting Light exposure 2 for 20 seconds

Connection closed by foreign host.
en/documentation/server.txt · Last modified: 2018/02/21 16:22 by pch