Packet comp_frame_pkt
MISE Compressed Frame packet structure
Summary of Packet Fields
The packets of type comp_frame_pkt contain the following fields:
Name |
DataType |
BitLength |
BitOffset |
ByteOrder |
|---|---|---|---|---|
Instrument SCLK Time second |
uint |
32 |
0 |
big |
Instrument SCLK Time subsec |
uint |
16 |
32 |
big |
Accountability ID |
uint |
32 |
48 |
big |
Row Origin |
uint |
9 |
80 |
big |
Column Origin |
uint |
9 |
89 |
big |
Window Rows |
uint |
9 |
98 |
big |
Window Columns |
uint |
9 |
107 |
big |
Row Binning |
uint |
2 |
116 |
big |
Column Binning |
uint |
2 |
118 |
big |
Comp Data |
uint[] |
8 |
120 |
big |
PEC (CRC-16-CCITT) |
uint |
16 |
128 |
big |
Packet Field Details
Here follows the detailed description of the packet fields.
Instrument SCLK Time second
Time tag, J2000 (seconds)
DataType |
uint |
BitLength |
32 |
BitOffset |
0 |
ByteOrder |
big |
Instrument SCLK Time subsec
Fractional time (1/216 seconds)
DataType |
uint |
BitLength |
16 |
BitOffset |
32 |
ByteOrder |
big |
Accountability ID
Accountability ID
DataType |
uint |
BitLength |
32 |
BitOffset |
48 |
ByteOrder |
big |
Row Origin
Window origin, row
DataType |
uint |
BitLength |
9 |
BitOffset |
80 |
ByteOrder |
big |
Column Origin
Window origin, column
DataType |
uint |
BitLength |
9 |
BitOffset |
89 |
ByteOrder |
big |
Window Rows
Window dimensions, rows
DataType |
uint |
BitLength |
9 |
BitOffset |
98 |
ByteOrder |
big |
Window Columns
Window dimensions, columns
DataType |
uint |
BitLength |
9 |
BitOffset |
107 |
ByteOrder |
big |
Row Binning
Row binning
DataType |
uint |
BitLength |
2 |
BitOffset |
116 |
ByteOrder |
big |
Column Binning
Column binning
DataType |
uint |
BitLength |
2 |
BitOffset |
118 |
ByteOrder |
big |
Comp Data
Compressed pixel data. The first 14 bits are used for the P0,0 uncompressed value.then each pixel value is compressed on 4bits values are organized in strips of 320 pixels. Padding bits are added at the end of the compressed stream to align on bytes.
DataType |
uint[] |
BitLength |
8 |
BitOffset |
120 |
ByteOrder |
big |
ArrayShape |
expand |
ArrayOrder |
C |
PEC (CRC-16-CCITT)
Packet Error Control field, using CRC-16-CCITT algorithm
DataType |
uint |
BitLength |
16 |
BitOffset |
128 |
ByteOrder |
big |