ALMA OPT Crib Sheets
Last Update: JeffMangum - 17 Feb 2007
OPT Hardware Control
The OPT hardware can be controlled quite effectively through a Python interface. To run this interface, start ACS then open a shell and do the following:
- import CCL.OpticalPointing
- op = CCL.OpticalPointing.OpticalPointing('ALMA04')
- tel = op.getOpticalTelescope()
- op.initializeHardware(): To initialize the hardware (turn camera on, do dark frames, open shutter, etc.).
- dir(op): To see what functions are available from the high-level interface.
- dir(tel): To see what functions are available for low-level control of the OPT.
- 15 Feb 2007
Setting the Pointing Model
The pointing model can be (re)set from the command line using the SetPtModel
script. Use the command SetPtModel -h
to see what the syntax of this command is. A typical use of this routine is as follows:
SetPtModel --name=ALMA04 --file=mymodelfilename
The structure of the mymodelfilename
is as follows:
Pointing terms which are not included in the mymodelfilename
are set to zero.
- 15 Feb 2007
What To Do When the AEC Antenna Az Drive Faults Due to Servo Oscillation
This happens a lot. When trying to track a source at high elevation (>85 degrees or so) the azimuth drive will mistakenly detect a servo oscillation and shutdown. Don't bother trying to clear this fault with the "shittyCom" interface to the AEC ACU. Use the ObjectExplorer:
- objexp: To start ObjectExplorer from a terminal
- MountAEC: Select the AEC Mount controller
- CONTROL/ALMA04/MountController/...: Select the AEC mount controller
- clearFaults(): Select the clear faults command
At this point you should be able to put the AEC antenna into track mode.
- 16 Feb 2007
If you are so unfortunate to have to use the "ShittyCom" interface to the AEC antenna, my condolences. To connect to the ShittyCom from a terminal:
- ssh root@openbrick
- (see CR wall)
- killall minicom;sleep 3;minicom -c on
- F12: Use l/r arrow keys to move amounst the essentially uninformative screens
- 33: Clear faults command
- F9: View fault status screen (nothing useful here)
- 17 Feb 2007