Difference between revisions of "SiTech"
Line 25: | Line 25: | ||
5.(b) or opened individually in the following order, putting each task in the background: | 5.(b) or opened individually in the following order, putting each task in the background: | ||
+ | cd bin | ||
sudo mono SiTechExe.exe (wait until the GUI has loaded and the message window has closed) | sudo mono SiTechExe.exe (wait until the GUI has loaded and the message window has closed) | ||
CTRL-Z | CTRL-Z |
Revision as of 21:22, 29 October 2019
The SiTech software runs Lesedi on 1ms1 (="1-metre server 1", i.e. Lesedi's TCS PC). 1ms2 is Lesedi's backup machine. There is a main GUI for the telescope (SiTechExe.exe), a communications GUI (ServoSCommunicator.exe), a GUI for each rotator (SiTechRotatorTCP.exe and "SiTechRotatorTCP.exe left"), one for the secondary and tertiary mirrors (SiTechFocuserTCP.exe), one for the dome (DomeControlTCP.exe) and a GUI that communicates with each subsystem's software (ObservatoryControlSAAO.exe). All of these GUIs must be running for the telescope to function fully, and only one instance of each can be run at a time, else problems will arise.
The software should be opened on lesedi-nuc, by connecting by ssh to 1ms1 and running the software using the mono library. If working remotely from Cape Town, VNC to lesedi-nuc:
1. Open Remmina Remote Desktop Client, select "VNC" from the dropdown menu and double click on Lesedi_Nuc from the list of servers. Enter the password and the lesedi-nuc desktop will be displayed on the screen.
2. Look for an existing terminal on lesedi-nuc, else open a new one, and log in to 1ms1:
ssh -Y observer@1ms1.suth.saao.ac.za (you don't need the full path from inside the network, just observer@1ms1)
3. Check for existing instances of the software already running:
ps aux | grep SiTech ps aux | grep Servo ps aux | grep Dome ps aux | grep Obs
4. If any existing jobs are listed and are not open on lesedi-nuc, kill them all:
sudo kill -9 xxxx (where xxxx is the relevant process ID)
5.(a) All the SiTech software can be opened using a startup script in the home directory:
sudo ./startup.sh
5.(b) or opened individually in the following order, putting each task in the background:
cd bin sudo mono SiTechExe.exe (wait until the GUI has loaded and the message window has closed) CTRL-Z bg sudo mono ServoSCommunicator.exe CTRL-Z bg mono DomeControlTCP.exe & mono SiTechRotatorTCP.exe left & mono SiTechRotatorTCP.exe & mono SiTechFocuserTCP.exe & mono ObservatoryControlSAAO.exe &