Data mode

From MCEWiki
Revision as of 13:44, 2 July 2008 by 142.103.235.106 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Table of data modes

code Brief pixel-data description
0 Error 32b (signed) co-added Error signal, sample_num*(adc_reading – adc_offset)
1 Feedback

32b (unsigned) SQ1 Feedback data.

When servo_mode =3, this is the PID calculation result which has 12 more bits of accuracy than the actual 14b SQ1 feedback applied.

2 Filtered feedback

32b (unsigned) SQ1 filtered feedback data.

Low-pass-filtered SQ1 feedback data.

3 Raw 50 MHz Raw data, 50MHz ADC samples in signed 8b format prescaled by 2^6
4 18:14 Mixed

Signed 18b SQ1 feedback [bits 31:14] + signed 14b coadded error signal [bits 13:0]

The feedback reported in this mode is scaled by 1/2^12 compared to data_mode=1.

5 Signed 24b SQ1 feedback [31:8] + signed 8b num_flux_jumps [7:0]

The feedback reported in this mode is scaled by 1/2^8 compared to data_mode=1.

6 Signed 18b filtered data + signed 14b coadded error signal

The filtered data in this mode is scaled by 1/2^10 compared to data_mode=2 (to partially eliminate the filter gain of ~1216).

7 Signed 22b filtered data + signed 10b coadded error signal prescaled by 1/2^4

The filtered data in this mode is scaled by 1/2^7 compared to data_mode=2 (to partially eliminate the filter gain of ~1216).

8 Signed 24b filtered data + signed 8b num_flux_jumps

The filtered data in this mode is scaled by 1/2^8 compared to data_mode=2.

9 Signed 24b filtered data + signed 8b num_flux_jumps

The filtered data in this mode is scaled by 1/2 compared to data_mode=2.