Changes

New 1.0m

4,024 bytes added, 22:56, 20 April 2017
/* Running SHOC from web browser after running it through rts2 */
== Commissioning Aids ==
 
=== Centre of rotation on SHOC ===
 
19 Jan 2017: (527,538) - SHOC removed to check mounting (all ok) & countersink ND filter wheel screw below camera mount plate<br />
 
18 Jan 2017: (530,527) - secondary retaining ring & radial screws tightened<br />
 
7 Nov 2016: (524, 527) - primary & secondary mirror retaining screws & secondary retaining ring tightened<br />
 
 
Latest model (model_38s) based on 18 Jan pixel coordinates
 
=== Start-up recipe ===
* From thin client, log in as ccd30 <br />
* Open a terminal and ssh -X observer@1ms1.suth.saao.ac.za <br />
* rts2-mon <br />
* Manually switch off dome lockout on observing floor <br />
* centrald -> "open" to open dome, followed by baffle and mirror covers (N.B. currently only works for the dome covers, so go to APM0 menu and type "open" for baffle and mirror covers) <br />
 
 
=== Shutdown recipe ===
* Park telescope: currently using T0 -> "altaz 50 90" until the "park" function is fixed (do NOT use "park" for now as the telescope position will time out and all sorts of things will go belly up on restarting everything). <br />
* centrald -> "close" to close mirror covers, baffle cover, then dome <br />
* Manually lockout the dome using the switch on the observing floor
* Manually park the dome pointing to the West using the buttons on the control box on the North side of the observing floor
=== Running SHOC through rts2 ===
* Start rts2 control of SHOC on shocndisbelief:<br />
ssh ccd@shocndisbelief.suth.saao.ac.za<br />
sudo bash<br />
cd /home/petr/rts2/src/camd<br />
sudo killall CameraServer && sudo ./rts2-camd-andor --server 1ms1.suth.saao.ac.za <br />
* Take images with SHOC:<br />
ssh -X observer@1ms1.suth.saao.ac.za <br />
rts2-xfocusc -d C0 -e 1<br />
(where -e is the exposure time option. Add "-X 1" to overlay grid lines).<br />
* Take and save an image with SHOC:<br />
CTRL-C out of rts2-xfocusc<br />
rts2-scriptexec -d C0 -s 'ADCMODE=15 E 1'<br />
=== Running SHOC from web browser after running it through rts2 ===
* This won't work without first rebooting shocndisbelief:<br />
ssh ccd@shocndisbelief.suth.saao.ac.za<br />
sudo reboot -h now<br />
# sadfdsNeed to then restart data spooling to the server:<br /># asdfsd(1) copy the temporary files that were written to /data/spool on the spindle drive to the SSD. Procedure:<br />mount /dev/sdb1 /mnt<br />rsync -avz /data/spool/* /mnt/<br />
(2) umount the SSD from the /mnt mount point<br />
umount /mnt<br />
(3) Mount the SDD on /data/spool<br />
mount /dev/sdb1 /data/spool <br />
(4) Check it's mounted<br />
df -h<br />
 
See https://itwiki.saao.ac.za/index.php/Standard_Nagios_Notifications for more info.<br />
=== Running AG Lodestars through rts2 ===
# * Check whether Lodestar is connected:<br />ssh pi@1mag1.suth.saao.ac.za (or pimag2 for DER2)<br />lsusb<br />Look for "Starlight Xpress Lodestar autoguider" in output<br />* Start rts2 control of Lodestar on the pi:<br />ssh pi@1mag1.suth.saao.ac.za<br />sudo bash<br />/etc/init.d/rts2 start<br />* Take images with the Lodestar:<br />ssh -X observer@1ms1.suth.saao.ac.za <br />rts2-xfocusc -d AG1CCD -e 1<br />(where AG1CCD is on DER1 and -e is the exposure time option).<br />* Take and save an image with the Lodestar:<br />CTRL-C out of rts2-xfocusc<br />rts2-scriptexec -d AG1CCD -s 'E 1'<br />* Loop multiple saved images:<br />rts2-scriptexec -d AG1CCD -s 'for 5 {E 1}'<br />(also rts2-xfocusc --save)<br />  === Pointing tests === Follow section on [[New 1.0m|Running SHOC through rts2]] then <br /> Run the model: run_model_random3 Build the model: gpoint --refine /etc/rts2/T0_model --filter 'model-err:15' align -o ~/model_XXs <br /> cd /home/observer <br /> sudo cp model_XXs /etc/rts2 <br /> sudo rm /etc/rts2/T0_model <br /> sudo ln -s /etc/rts2/model_37s /etc/rts2/T0_model <br /> sudo rts2-stop T0 <br /> sudo rts2-start T0 <br /> === Troubleshooting ===* Naughty telescope claims "Trying to contact centrald" and rts2-mon won't start: sudo /etc/init.d/rts2 start * Certain subsystems don't wake up: sudo /etc/rts2/start-rts2
# Start * Certain subsystems don't wake up with start-rts2 control of Lodestar on the picommand above:ssh pi@1mag1.suth.saao.ac.za ps -Af | grep rts2 sudo bash/etc/init.d/rts2 startkillall <relevant process>
# Take images with the Lodestarwhere <relevant process> could be:ssh rts2-X observer@1ms1.suth.saao.ac.zacentrald - comms (?) <br />rts2-xfocusc apm-d AG1CCD multidev -e 1mirror & baffle cover & primary mirror fans<br />(where AG1CCD is on DER1 rts2-teld-sitech-altaz - alt & az motors <br />rts2-sitech-focmirror - M2 and M3<br />rts2-e is the exposure time option).rotad-sitech<br />rts2-httpd - for thrift?<br />rts2-cupola-saao - dome<br />
# Take and save an image with the LodestarThen restart:CTRL-C out of sudo rts2-xfocuscstart <relevant process>e.g. rts2-scriptexec -d AG1CCD -s 'E 1'start CUP
# Loop multiple saved images* Derotators still don't wake up with start-rts2 command above: sudo rts2-scriptexec rotad-d AG1CCD sitech -s 'for 5 {E 1}'(also f /dev/derotators --defaults-der1 =/etc/rts2/D1.ini -xfocusc -defaults-save)der2 =/etc/rts2/D2.ini
1,054
edits