Changes

Lesedi

2,754 bytes removed, 11:25, 14 February 2023
/* Autoguider troubleshooting */
# Click "INITIALISE" to return the XY-slides to the home position.
# In the terminal running the web server, press CTRL-C to kill the process.
 
=== Autoguider troubleshooting ===
 
If the autoguider GUI isn't already running (or is not responding), open a terminal, log in to lesedis2 (username & password in the Lesedi Resources google doc) and check for any autoguider jobs already running:
 
ssh -Y observer@lesedis2.suth.saao.ac.za
ps aux | grep readPLC
If there are outstanding jobs, the result will be something like:
 
root 1310 99.8 0.1 39384 13016 ? R Jun21 5284:08 python readPLCandLesediV1.py
root 14103 0.0 0.1 39384 13040 pts/11 S+ 14:41 0:00 python readPLCandLesediV1.py
root 20411 99.9 0.1 39384 13092 ? R Jun23 1187:37 python readPLCandLesediV1.py
observer 25808 0.0 0.0 14224 1032 pts/12 S+ 17:49 0:00 grep --color=auto readPLC
These processes remain "hanging" if the software was not closed properly using the EXIT button. You need to kill them using their IDs given above, e.g. in this case:
sudo kill -9 1310 14103 20411
Then in the same terminal, check that the Lodestar cameras are connected:
 
observer@sa1:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 079: ID 1278:0507 Starlight Xpress Lodestar autoguider
Bus 001 Device 081: ID 1278:0507 Starlight Xpress Lodestar autoguider
There is one Lodestar camera each for Mookodi and Sibonise. If you see one Starlight Xpress in the list it might just be the one you need, so try the next steps. If you do not see any Starlight Xpress listed then the cameras are not detected on the USB ports and the icron devices probably need power cycling (call electronics standby).
 
 
Once any rogue processes are killed and the cameras are connected, start the autoguider GUI:
 
cd /home/observer/src/xyslides2ports
sudo ./main_prog -depth 24
 
You are now ready to continue [[#Autoguiding|running the autoguider from the browser]]. However, if for some reason you need to run the guider from the backend software, you will need to start the finder chart software. Open a new terminal on ioserver1 (or preferably a new window in the same terminal with Ctrl-Shift-T) and log in again to lesedis2:
 
ssh -Y observer@lesedis2.suth.saao.ac.za
cd /home/observer/GS_FC
python genfinderLesediFeb2020.py
 
This brings up a finder chart and a coordinates box. You're now ready to [[#Backup autoguiding procedure|guide use the backend autoguider software]].
 
'''If the autoguider camera image does not update''' after selecting continuous exposures, you will need to press the turquoise "Power Cycle Cameras" button on the backend GUI, then EXIT the software with the red button and restart it as above.
== Shutdown recipes ==
1,233
edits