Difference between revisions of "New 1.0m"
(→Commissioning Aids) |
(→Running SHOC from web browser after running it through rts2) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
== Commissioning Aids == | == 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 === | === Running SHOC through rts2 === | ||
Line 19: | Line 44: | ||
* Take and save an image with SHOC:<br /> | * Take and save an image with SHOC:<br /> | ||
CTRL-C out of rts2-xfocusc<br /> | CTRL-C out of rts2-xfocusc<br /> | ||
− | rts2-scriptexec -d C0 -s 'E 1'<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 === | === Running AG Lodestars through rts2 === | ||
Line 46: | Line 90: | ||
=== Pointing tests === | === Pointing tests === | ||
− | Follow section on [[New 1.0m|Running SHOC through rts2]] then | + | 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 === | === Troubleshooting === | ||
* Naughty telescope claims "Trying to contact centrald" and rts2-mon won't start: | * Naughty telescope claims "Trying to contact centrald" and rts2-mon won't start: | ||
− | sudo /etc/init.d/rts2 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 |
Latest revision as of 00:56, 21 April 2017
The "new" 1-m telescope was installed in the dome that previously housed a 30-inch telescope. The telescope was built by APM Telescopes[1] 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!
Contents
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
18 Jan 2017: (530,527) - secondary retaining ring & radial screws tightened
7 Nov 2016: (524, 527) - primary & secondary mirror retaining screws & secondary retaining ring tightened
Latest model (model_38s) based on 18 Jan pixel coordinates
Start-up recipe
- From thin client, log in as ccd30
- Open a terminal and ssh -X observer@1ms1.suth.saao.ac.za
- rts2-mon
- Manually switch off dome lockout on observing floor
- 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)
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).
- centrald -> "close" to close mirror covers, baffle cover, then dome
- 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:
ssh ccd@shocndisbelief.suth.saao.ac.za
sudo bash
cd /home/petr/rts2/src/camd
sudo killall CameraServer && sudo ./rts2-camd-andor --server 1ms1.suth.saao.ac.za
- Take images with SHOC:
ssh -X observer@1ms1.suth.saao.ac.za
rts2-xfocusc -d C0 -e 1
(where -e is the exposure time option. Add "-X 1" to overlay grid lines).
- Take and save an image with SHOC:
CTRL-C out of rts2-xfocusc
rts2-scriptexec -d C0 -s 'ADCMODE=15 E 1'
Running SHOC from web browser after running it through rts2
- This won't work without first rebooting shocndisbelief:
ssh ccd@shocndisbelief.suth.saao.ac.za
sudo reboot -h now
Need to then restart data spooling to the server:
(1) copy the temporary files that were written to /data/spool on the spindle drive to the SSD. Procedure:
mount /dev/sdb1 /mnt
rsync -avz /data/spool/* /mnt/
(2) umount the SSD from the /mnt mount point
umount /mnt
(3) Mount the SDD on /data/spool
mount /dev/sdb1 /data/spool
(4) Check it's mounted
df -h
See https://itwiki.saao.ac.za/index.php/Standard_Nagios_Notifications for more info.
Running AG Lodestars through rts2
- Check whether Lodestar is connected:
ssh pi@1mag1.suth.saao.ac.za (or pimag2 for DER2)
lsusb
Look for "Starlight Xpress Lodestar autoguider" in output
- Start rts2 control of Lodestar on the pi:
ssh pi@1mag1.suth.saao.ac.za
sudo bash
/etc/init.d/rts2 start
- Take images with the Lodestar:
ssh -X observer@1ms1.suth.saao.ac.za
rts2-xfocusc -d AG1CCD -e 1
(where AG1CCD is on DER1 and -e is the exposure time option).
- Take and save an image with the Lodestar:
CTRL-C out of rts2-xfocusc
rts2-scriptexec -d AG1CCD -s 'E 1'
- Loop multiple saved images:
rts2-scriptexec -d AG1CCD -s 'for 5 {E 1}'
(also rts2-xfocusc --save)
Pointing tests
Follow section on Running SHOC through rts2 then
Run the model:
run_model_random3
Build the model:
gpoint --refine /etc/rts2/T0_model --filter 'model-err:15' align -o ~/model_XXs
cd /home/observer
sudo cp model_XXs /etc/rts2
sudo rm /etc/rts2/T0_model
sudo ln -s /etc/rts2/model_37s /etc/rts2/T0_model
sudo rts2-stop T0
sudo rts2-start T0
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 (?)
rts2-apm-multidev - mirror & baffle cover & primary mirror fans
rts2-teld-sitech-altaz - alt & az motors
rts2-sitech-focmirror - M2 and M3
rts2-rotad-sitech
rts2-httpd - for thrift?
rts2-cupola-saao - dome
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