software
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software [2025/11/21 21:56] – holtz | software [2026/02/06 05:05] (current) – 10.253.228.246 | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| An interactive client can be run from a Python environment. APOsong provides convenience routines to connect to Alpaca devices and provide user-friendly commands to control the telescope, dome, camera etc., but you can also use all regular Python functionality, | An interactive client can be run from a Python environment. APOsong provides convenience routines to connect to Alpaca devices and provide user-friendly commands to control the telescope, dome, camera etc., but you can also use all regular Python functionality, | ||
| - | To access the command set: | + | To start an ipython session and access the command set: |
| < | < | ||
| - | from aposong | + | aposong |
| </ | </ | ||
| Line 36: | Line 36: | ||
| ===== Robotic software ===== | ===== Robotic software ===== | ||
| - | Alternatively, | + | Alternatively, |
| - | For SONG operation, robotic operations | + | For SONG operation, robotic operations |
| + | target and the observing sequence. As the request is started, completed, or aborted, the status | ||
| + | communicated back through the obs_reqeust_status_4 table in db_apo. Other tables in db_apo communicate | ||
| + | the state of the APO system so that the conductor can choose appropriate targets. | ||
| ===== song1m computer ===== | ===== song1m computer ===== | ||
| Line 53: | Line 56: | ||
| - status | - status | ||
| - guider : process that handles guiding through socket connection to main aposong process | - guider : process that handles guiding through socket connection to main aposong process | ||
| + | |||
| + | These are normally run in different tabs in a terminal on a VNC desktop. | ||
| ===== pwi1m computer ===== | ===== pwi1m computer ===== | ||
| Line 185: | Line 190: | ||
| The Alpyca servers runs on port 5555 on dome1m. To start the Alpaca devices after a reboot: | The Alpyca servers runs on port 5555 on dome1m. To start the Alpaca devices after a reboot: | ||
| < | < | ||
| - | cd APOalpyca/device | + | /home/ocs/APOalpyca/bin/dome_app |
| - | python | + | |
| </ | </ | ||
| + | |||
| + | which will kill any existing servers and start a new server. Since we have issues with the server stopping | ||
| + | working in the early afternoon, a cron job restarts the server each afternoon. | ||
software.1763762213.txt.gz · Last modified: by holtz
