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