---------------------------------- Detailed listing of otcom commands ---------------------------------- Download DSP code: ------------------ df - this tries to turn off the high volts and then downloads the code to both timing and utility boards. The default is optic4.lod and opticlub.lod found in /usr/local/inst/dsp. The environment variable LODPATH (default /usr/local/inst/dsp:.) governs where DSP files are sought. Power on: --------- pon - turns on the high volts (i.e. +/-16 and +36. The idea is that we want the +5V on and stable so that the DACs which will supply voltages to the CCD are stable before their power is turned on.) poff - turns off the high volts. tdl - test data link, pings the CCD controller Verify temperatures and voltages: --------------------------------- temp - view temps of CCD and electronics temp -105 - set CCD regulation temp to -105 volt - view voltages Status: ------- status - shows what's doing, crowded but pretty complete: Frame: 001 File prefix: '/tmp/ccd' Filter 1 'R' Science: bin 1x1, origin (0,516), size (2048,1536), 32 bias, 4 amp, texp 1.00 Guide: bin 2x2, origin (1,1), size (16,16), geom 0,2 0,2, texp 0.020 GS at: 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 Params: nwipe 1, shut 1, read 1, wrdat 1, track 0, wrot 0, wrvid 0 OT track: alg 0, wait 5, gain 1.00, max 8, regions 11111111, wgt 2.00 Tel guide: on? 0, min 2.0, gain 0.35, PA top 0.0, EccwN? 1 The first four lines are relatively self explanatory, although it's important to realize that the guide box specification has two parts. There is a common "bin origin size" for all stars, which is used in reading out the little regions around them. The "bin" and "size" define the box parameters, and the "origin" defines where the boxes are shifted prior to readout. An origin of (0,0) or (1,1) is good. The fourth line defines the center location for each of the stars (or zero if that region is not going to be used). It is set by fgs or guide. The fifth line describes the OT tracking parameters which are explained in detail below. The sixth line does the same for the telescope guide parameters. Usual sorts of CCD control commands: ------------------------------------ fnumber N - set the running file number to N fprefix xx - set the file prefix to xx, i.e. output file will be xx.N sformat - set the CCD readout format. This can take 7 arguments or otcom will prompt you for them if you do not supply them. The arguments are (in order) xbin ybin xoff yoff xsize ysize nbias e.g. sf 2 2 0 0 1024 1026 32 where the bin factors can be 1-N, the offsets are measured in physical (not binned) pixels, and the sizes and number of bias overclocks are in binned pixels. etime T - set exposure time to T seconds filter (N) - request or set the filter to N (UH2.2-m and TFW only) go (N) - do an exposure. If N is present you get N identical exposures. This can perform a large variety of actions depending on the "auto" parameters. There are also piecemeal versions of go: clear (N) - clear the CCD (N times) shutter A - open/close the shutter if A is "open" or 1 / "close" or 0 expose - open shutter (if auto permits), wait, and close shutter rc - read out CCD (and write files if auto permits) wf - write files (according to auto) auto - set up the automatic actions to be undertaken with "go" This can take 7 arguments or otcom will prompt you for them if you do not supply them. The arguments are: #wipe do_shut? readout? wr? do_OT? wr_OT? wr_vid? #wipe = number of clears before an exposure do_shut? = 0/1 to open the shutter for an exposure readout? = 0/1 to readout after the exposure completes wr? = 0/1 to write the image to a file after readout do_OT? = 0/1 to follow guide star(s) and do OT shifting wr_OT? = 0/1 to write the (all important) OT data file wr_vid? = 0/1 to write the 3D FITS file of the GS video some examples will make this clearer: normal snapshot auto 1 1 1 1 0 0 0 bias or dark frame auto 1 0 1 1 0 0 0 (depending on whether etime=0 or etime>0) focus frame auto 0 1 0 0 0 0 0 (would be preceded with clear, and followed with an auto 1 1 1 1 0 0 0 and an "rc" or an auto 0 0 0 1 0 0 0 and a "go") OT tracking image auto 1 1 1 1 1 1 1 *LONG* OT image auto 1 1 1 1 1 1 0 exercise CCD auto 1 1 1 0 0 0 0 (maybe while looking at signals with an oscilloscope) tel cmd - do a telescope command. There are a variety of commands available for a given telescope. You can probably count on the following ones: tel roff E N = do an offset from the current position of E and N arcsec tel xyoff dx dy = offset dx,dy unbinned pixels tel xyoff xfrom yfrom xto yto = offset to-from, unbinned pixels tel xyoff xfrom yfrom xto yto bin = offset (to-from)*bin tel afocus F = set the telescope focus to F tel dfocus D = change the telescope focus by D Note that the "tel xyoff" command depends on otcom knowing the orientation of the CCD; see the gparams command below. At the UH2.2-m there is a large variety of commands which are probably already familiar to users of tcdcom At WIYN there are three other commands: tel info = dump out the telescope's idea of things tel filter N = set the filter to F (note that this currently uses N=0-7 for WIYN filters 1-8, sorry) tel exptime T = set the WIYN shutter exposure to T this is overridden by "et" if T>4 sec, and et>4 sec, but defines the actual exposure for 1