User Tools

Site Tools


Sidebar

Home

Documentation

Tutorial

Reference Manual

Installation

en:documentation:server

This is an old revision of the document!


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...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK! id=1

status
Planetarium connected, Autoguider guiding, Devices connected

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

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

log
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

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