This manual describes the commands and replies for the Agile ICC.
The Agile ICC can be reached by telnet to nimble on port 1025.
Note:
Add number dummy FITS header cards to each image. The cards will be named name0, name1...
The command will be rejected if these requirements are not met:
Change the number of exposures in the current exposure sequence. Special values for numExp are:
(New in version 1.1)
type must be one of abort, stop, object, flat, dark, bias. Two types are handled specially:
abort
stop
object
flat
dark
bias
args consists of one or more of the following, separated by spaces:
.fits
Note that the minimum exposure time is the image readout time (plus a small bit of time of overhead), with a an absolute lower limit of 0.1 seconds. For short exposures you must use readrate=fast, bin=2 (or more), and you may also have to reduce the window size or reduce the overscan.
Set or clear information about the filter in the filter slide. If no arguments are supplied then the configuration is cleared (filterName set to "?" and focusOffset set to NaN). If you supply a filter name then the focus offset defaults to 0.
See pixel coordinates for details on the bin, window and overscan arguments.
Warnings:
Load a filterwheel configuration file. The default directory is /export/FILTERS and the default file name extension is .txt. The format is as follows:
/export/FILTERS
.txt
Note: these files are used by both SPIcam and Agile, but their requirements may differ:
Home the filterwheel
Move the filterwheel to the specified slot. The valid range is specified by fwSlotMinMax.
Prints a summary of available commands.
Print system parameters, including the temperature set point, minimum exposure time and various defaults.
Set the number of times the CCD is cleared before an exposure sequence starts. The value must be positive. The default is 5, which is the maximum number that seemed to make any difference based on our tests. However, preclears are quite fast, so feel free to ask for more if you want them.
Note that preclears occur only at the beginning of an exposure sequence, before the first exposure begins integrating; they do not occur before each exposure.
Shut down the Agile ICC.
Read current status and print it out. Normally status is output as it changes, so this command is primarily used at connect time and for debugging.
Dummy FITS header card info. See the addCards command for more information.
The first biasSecGap unbinned pixels of x overscan are not useful for bias determination. They might be a mix of dark current and read noise, but we are not sure. See the overscan section of the expose command for more information.
Binning factor. See also pixel coordinates.
CCD temperature setpoint, in C, and a summary state keyword. state is one of: normal, low, high. The normal setpoint is -40.0 C; a variation of more than 0.1 C is reported as low or high.
normal
low
high
CCD temperature, in C, and a summary state keyword. state is one of: normal, low, high, veryLow, veryHigh,
veryLow
veryHigh
Temperature error limits, in C, that control the corresponding ccdTemp state keyword. The sign is ignored. For example if ccdTemp - ccdSetTemp < |low| or |veryLow| then the ccdTemp state will be low or veryLow.
Information about the current filter or filters:
THe default value of bin for the expose command.
THe default value of gain for the expose command.
The default value of readRate for the expose command.
The default value of extSync for the expose command.
Default value of overscan for the expose command. The value is chosen to give a usable bias region even for unbinned images.
Exposure status. The fields are:
idle
flushing
integrating
expDone
done
aborted
failed
Note: the predicted duration does not include readout time. This will cause a delay between the time the exposure has ended and the image is available. Readout time of a full-frame unbinned image is 1.1 seconds with fast readRate, 10.8 seconds using slow readRate. Readout time is reported at the start of each exposure sequence using keyword readoutTime.
Use external sync pulse: yes or no
yes
no
Configuration of filter slide (whether or not it happens to be installed). To see if the filter slide is installed see currFilter. The fSlideConfig fields are:
Path to filterwheel configuration file; "" if no configuration file was loaded.
Path to filterwheel controller communications log file; "" if communications is not being logged.
Predicted duration of filterwheel home command (sec)
Predicted duration of filterwheel move command (sec)
Filter name in filter slot 1, 2.... A filter name may contain spaces and other special characters (but not invisible characters or \). A name is "?" if unknown.
Focus offset (in microns) for filter wheel slot 1, 2.... An offset is NaN if unknown.
Reply from filterwheel controller. This will be seen when executing a nonstandard commmand that begins with "fw ".
Minimum and maximum slot number for fwMove command.
Filter wheel status.
Note that the controller reports -1 for unknown slot number and AgileICC translates this to ?.
Sample output: fwStatus=5, 5, 0x00000000, 0.0
fwStatus=5, 5, 0x00000000, 0.0
Amplifier gain; one of low, med or high
med
Indicates whether the clock card is synchronized to the 1 PPS pulse from the GPS receiver. It must be synchronized if you need accurately timed images.
The maximum allowed overscan in x and y, in binned pixels. A request for more overscan along either axis will be silently truncated.
Minimum allowed exposure time. This value was chosen by experiment so that a long series of fast exposures should complete reliably without overloading any part of the system.
Minimum gap between image readout time (as reported by the camera for the chosen size of image) and the requested exposure time. This limit is meant to increase the reliability of long sequences of short exposures. However, it has not been measured experimentally and if it causes a problem we may be able to reduce it.
Status of the NTP client:
The NTP client should be running to keep the ICC's system clock to within 1/4 second of true time. Otherwise images may have incorrect timing information.
The number of images in the circular buffer and the maximum number allowed. If numImages steadily climbs and you are trying to take more than maxImages images then your sequence is likely to fail.
Amount of overscan, in binned pixels
A warning that the filterwheel configuration is unknown.
A warning that the filter slide configuration is unknown.
The number of times the CCD is cleared before starting an exposure sequence.
Amplifier readout rate: slow or fast
slow
fast
CCD readout time, in seconds.
Image window (subframe), in binned pixels. See also pixel coordinates.
Indicates that the Agile ICC is shutting down.
Software version.
Notes on FITS keywords:
AVAILMIN and AVAILMAX are both taken from the system clock (which is maintained by an ntp time client), whereas UTCTIMESTAMP derived from the accurate clock card (if using the external sync pulse), which is synched to a GPS receiver.
It is a window rather than a single time because the ICC polls the camera to find out when an image is available from the camera. AVAILMAX is the time it realized the image was available and AVAILMIN is the previous time it checked for that image.
Agile ICC follows the APO 3.5m standard for instruments for pixel coordinates:
Examples:
expose ... bin=1 window=413,413,612,612 overscan=10,5
Agile ICC was written by Russell Owen with extensive help from Anjum Mukadam. This manual was written by Russell Owen.