1 |
1 |
'''[wiki:GraspSwControllerCmd celldes]''' |
2 |
2 |
[[TracNav(GraspContents)]] |
3 |
3 |
||Command:||'''celldes'''|| |
4 |
4 |
||Contexts:||Network socket, serial console. Applies only if the CCD is an "OTA" device.|| |
5 |
5 |
||Function:||Designates the intended function for each of the 64 cells.|| |
6 |
6 |
||Required Parameters:||'''cells'''=(64 S/V/D characters)|| |
7 |
7 |
||Optional Parameters:||'''dev'''='''all'''|'''0'''|'''1'''|| |
8 |
8 |
The string of cell designators must be a sequence of '''exactly 64 characters''': |
9 |
9 |
||'''S'''||Designates Science readout use|| |
10 |
10 |
||'''V'''||Designates Video readout during exposure(*)|| |
11 |
11 |
||'''D'''||Designates a Dead cell which should be electrically floated|| |
12 |
12 |
Order of the cells is row-major listing of the Catesian coordinate system of cell positions. |
13 |
13 |
Usage for the cells: |
14 |
14 |
||xy07||xy17||xy27||xy37||xy47||xy57||xy67||xy77|| |
15 |
15 |
||xy06||xy16||xy26||xy36||xy46||xy56||xy66||xy76|| |
16 |
16 |
||xy05||xy15||xy25||xy35||xy45||xy55||xy65||xy75|| |
17 |
17 |
||xy04||xy14||xy24||xy34||xy44||xy54||xy64||xy74|| |
18 |
18 |
||xy03||xy13||xy23||xy33||xy43||xy53||xy63||xy73|| |
19 |
19 |
||xy02||xy12||xy22||xy32||xy42||xy52||xy62||xy72|| |
20 |
20 |
||xy01||xy11||xy21||xy31||xy41||xy51||xy61||xy71|| |
21 |
21 |
||xy00||xy10||xy20||xy30||xy40||xy50||xy60||xy70|| |
22 |
22 |
Is sent in the string in the following order: |
23 |
23 |
cells='''xy00 xy10 xy20 . . . xy67 xy77''' |
24 |
24 |
An actual command selecting all cells on "dev 1" but using xy11 for video would look like: |
25 |
25 |
{{{ |
26 |
26 |
celldes dev=1 cells="SSSSSSSSSVSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS" |
27 |
27 |
}}} |
28 |
28 |
(*) CCD readouts, video or science, are "destructive" so a even though a "V" cell still gets included in the final readout, there is no valid image data. |
29 |
29 |
=== Notes: === |
30 |
30 |
If dev= is omitted, the last default dev applies (which can be either 0 or 1, but not "all"). |
31 |
31 |
The FITS header for each exposure contains a nice self-documenting map illustrating which cells where video or floated, in addition to the 64-character keyword value '''CELLDES'''. |
32 |
32 |
Various image displays may be rotated or flipped to match sky! |