Changes

Lesedi

5,123 bytes added, 17:36, 30 May 2017
Created page with "The "new" 1-m telescope was installed in the dome that previously housed a 30-inch telescope. The telescope was built by APM Telescopes[http://www.apm-telescopes.de/] and was..."
The "new" 1-m telescope was installed in the dome that previously housed a 30-inch telescope. The telescope was built by APM Telescopes[http://www.apm-telescopes.de/] and was lifted into the dome on 02 August 2016. Commissioning is currently underway.

The 30-inch telescope was donated to the University of Kwa-Zulu Natal.

Watch this space!

== 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 />

Need to then restart data spooling to the server:<br />
(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

* Certain subsystems don't wake up with start-rts2 command above:
ps -Af | grep rts2
sudo killall <relevant process>

where <relevant process> could be:
rts2-centrald - comms (?) <br />
rts2-apm-multidev - mirror & baffle cover & primary mirror fans<br />
rts2-teld-sitech-altaz - alt & az motors <br />
rts2-sitech-focmirror - M2 and M3<br />
rts2-rotad-sitech<br />
rts2-httpd - for thrift?<br />
rts2-cupola-saao - dome<br />

Then restart:
sudo rts2-start <relevant process>
e.g. rts2-start CUP

* Derotators still don't wake up with start-rts2 command above:
sudo rts2-rotad-sitech -f /dev/derotators --defaults-der1 =/etc/rts2/D1.ini --defaults-der2 =/etc/rts2/D2.ini
1,233
edits