3 NOTES FOR ADAPTIVE OPTICS SYSTEMS
This part of the document provides a description of the special features of the programmatic added to the interface of the FIERA CCD sw only for the Adaptive Optics systems.
All the contents of the previous chapter 2 are still valid.
3.1 Changing a Readout Mode
A Readout Mode can be executed
2. when a system is already running a different Readout Mode, i.e, you want to change the Readout Mode used by FIERA (see 3.1.2).
Before running a mode, send a SETUP defining the following parameters:
To obtain the maximum rate, DET.WIN1.UIT1 has to be always 0 (in this case the chip will be continuously readout, and the effective "integration time" will be the time needed to readout the chip, since there is no shutter and the light is always reaching the CCD).
To adjust down the frame rate, DET.WIN1.UIT1 will define the time between two different readouts of the chip (in this case the effective "integration time" will be the time needed to readout the chip PLUS the time defined by DET.WIN1.UIT1).
NOTE: RTD can handle a maximum rate of ~10 frames per sec. If this rate is exceeded, RTD fails because of overrun. To avoid this, set DET.FRAM.SAMPLE appropriately, in order to send to the SPARC only one each N images.
Whenever needed, the STOP command ends the execution of an exposure loop:
3.1.1 execution of a Readout Mode when the system is not operating
About the different Readout Modes and the setups needed before starting the Readout Modes, this is the simplest way to perform them (see also 2.17):
> msgSend $RTAPENV fcdconCI_$CCDNAME SETUP "-function DET.READ.CLKIND 1 DET.FRAM.SAMPLE 100 DET.WIN1.BINX 1 DET.WIN1.BINY 1 DET.WIN1.UIT1 0.0"
3.1.2 change the Readout Mode while an exposure loop is running
Assuming that an exposure loop is already running (see 3.1.1):
1. Change the Readout Mode under usage (note the main difference with the example in 3.1.1: here we refer to the running exposure loop)
> msgSend $RTAPENV fcdconCI_$CCDNAME SETUP "-expoId 0 -function DET.READ.CLKIND 3 DET.FRAM.SAMPLE 30 DET.WIN1.BINX 1 DET.WIN1.BINY 1 DET.WIN1.UIT1 0.0"
> msgSend $RTAPENV fcdconCI_$CCDNAME SETUP "-expoId 0 -function DET.READ.CLKIND 4 DET.FRAM.SAMPLE 60 DET.WIN1.BINX 1 DET.WIN1.BINY 1 DET.WIN1.UIT1 0.0"
> msgSend $RTAPENV fcdconCI_$CCDNAME SETUP "-expoId 0 -function DET.READ.CLKIND 2 DET.FRAM.SAMPLE 100 DET.WIN1.BINX 1 DET.WIN1.BINY 1 DET.WIN1.UIT1 0.0"
3.2 Image Cube
For test purposes, the Adaptive Optics systems can collect image data in Image Cubes, i.e., standard FITS files where more images are stored.
3.2.1 Setup parameter for Image Cubes
In addition to the setup parameters described in 2.14.2, for the Adaptive Optics systems the following parameter has been implemented:
1. The parameter DET.READ.NFRAM indicates how many images have to be stored in an image cube. The maximum value is 1024. means that all images have to be transferred.
3.2.2 How to obtain an Image Cube
During the execution of an exposure loop, a Setup command related to the actual exposure has to be sent to the Exposure Coordination task, with the DET.READ.NFRAM parameter defined.
Example: store 20 images in an Image Cube file named AOCube.fits (the system has already been set to ONLINE, and a complete Setup has already been sent):
3.3 Test Mode
To run the Test Mode NO EXPOSURE LOOP MUST BE RUNNING.
To run the Test Mode, use the SELFTST command with the followinf syntax:
SELFTST -function AOTestFile <FileName> -repeat <Repetition>
<FileName> has to be replaced with the STRING with the name of the ascii file containing the values which have to be sent by FIERA to the RTC. The file has to be stored in the directory:
If Repetition = 0 the loop can be stopped pushing the "Stop Loop" button in the "General" area of the Fiera Control Panel (see 8.2) or sending the STOP command.
3.3.1 Example of Test Mode execution
Assuming that the system is already ONLINE and IDLE (i.e., is NOT running any exposure loop):
Quadralay Corporation http://www.webworks.com Voice: (512) 719-3399 Fax: (512) 719-3606 sales@webworks.com |