Changes

Jump to: navigation, search

SHOC

804 bytes added, 12:07, 25 March 2015
/* Technician's guide */
** (2) Turn on power switch at the back of the SHOC box.
** (3) Press the computer power button on the front of the computer.
 
===Configuring SHOC===
 
To access the SHOC computer, ssh into it from a terminal on your local machine or tablet (e.g. ssh ccd@shocnawe.suth.saao.ac.za or ssh ccd@shocndisbelief.suth.saao.ac.za).
* Ensure GPS location settings are correct in /home/ccd/programming/shoc/shoc/instruments/gps/gps.py:
:Check that the location settings for Sutherland are active (not commented with a '#') and that the settings for Cape Town are commented (i.e. are preceded by a '#').
* Edit service settings using the file /etc/init/shoc-camera.conf (the filepaths need to have the correct telescope and instrument names):
:Change the telescope name to the name of the currently used telescope: 74in or 40in.
:Check that the instrument name is correct, with SHA or SHD (for shocnawe or shocndisbelief).
:Ensure that the log level is set to info (not debug).
* To enact any changes made during configuration, restart all services:
:Under /home/ccd/programming/shoc, type the following: ./restart_services
===Testing the components ===
: Check that POP settings can be made.
:: Mode to repeat.
:: pulse Pulse width should 10 microseconds (default):: start Start date should be set or selected to be today's date.:: start Start time should be set to some seconds or a min in the future, localtime:: repeat Repeat interval can be your choice: this is just a test value, something like a few hundred millisec is appropriate:: click Click the apply button
:: The status should change to pending, and at the chosen time, should change to activated. '''make sure to switch off the POP signal again by clicking stop.'''
:: Make sure to close the dome before trying the camera tests, or else the images could be saturated.
* In the camera tab:
: Check that the camera can be switched on (press "turn camera on")
: Check that the cooler is working (the temperature should drop)
: Check that the camera is reading out: confirm the setting is full frame, conventional mode (the default) and press "preview". Images should appear every ~ 1.2 sec. Once confirmed that images are coming through, press "stop".
: Switch the camera off again (press "turn camera off").
 
===Configuring the SHOC computer (not the web interface!)===
 
To access the SHOC computer, ssh into it from a terminal on your local machine or tablet (e.g. ssh ccd@shocnawe.suth.saao.ac.za or ssh ccd@shocndisbelief.suth.saao.ac.za).
* Ensure GPS location settings are correct in /home/ccd/programming/shoc/shoc/instruments/gps/gps.py:
: after sshing, move into the directory: cd /home/ccd/programming/shoc/shoc/instruments/gps/
: open the file using a viewer: vi gps.py
: Use the up and down arrows to view each line of the file. Check that the location settings for Sutherland are active (not commented with a '#') and that the settings for Cape Town are commented (i.e. are preceded by a '#'). To remove a character type x . To add a character type a followed by the character to add, then hit esc to stop inserting. To exit, type :wq .
* Edit service settings using the file /etc/init/shoc-camera.conf (the filepaths need to have the correct telescope and instrument names):
: after sshing, move into the directory: cd /etc/init/
: open the file using a viewer: vi shoc-camera.conf
:: Use the up and down arrows to view each line of the file. Change the telescope name to the name of the currently used telescope: 74in or 40in. The instrument name should already be set to SHA or SHD (for shocnawe or shocndisbelief) and the log level should be info (not debug). In the editor, to remove a character type x . To add a character type a followed by the character to add, then hit esc to stop inserting. To exit, type :wq .
* To enact any changes made during configuration, restart all services:
:Under /home/ccd/programming/shoc, type the following: ./restart_services
===Technician's Troubleshooting guide ===
214
edits