Skip to content

Rayence FPD internal configuration file description

Alex edited this page Sep 23, 2019 · 1 revision

.initcfg file

  • size: 32 bytes
  • format: binary
  • byte order: little-endian
Offset Function
0x0 AutoExposition
0x3 Test Pattern(column)
0x4 Test Pattern(row)
0xf Auto Trigger
0x10 Dark
0x11 Post Dynamic Offset
0x12 AGI Auto
0x13 16 bit
0x14 Preview Enable
0x15 Preview Down Sampling
0x16 AGI
0x17 Dynamic Offset
0x1c Anti-Shock Disable
0x1d Wireless Message Enable
0x1e Storage Function Disable
0x1f Debug mode Enable

.elsetcfg file

  • size: 128 bytes
  • format: binary
  • byte order: little-endian
  • when sending from PC or read from device need convert every value from Little-endian to Big-endian(swap byte order)(_byteswap_ulong)
Offset Size Property EIM_REG
0x0 4 Expose size(Window Time) 0xF
0x4 4 FSM reg 0x2
0x8 4 ROP mode reg 0x3
0xC 4 Set gate 0x4
0x10 4 Set roic 0x5
0x14 4 Ready delay 0xD2
0x18 2 Gate size 0x7
0x1C 2 ROIC size 0x9
0x20 4 Num chain roic 0xB
0x24 4 Clk adc width 0xC
0x28 2 Clk_adc_duty 0xD
0x2C 2 Clk_adc_ctrl 0xE
0x30 4 Back_bias_size 0x11
0x34 4 Image_height 0x13
0x38 2 Cycle width flush 0x15
0x40 4 Cycle_width_read 0x17
0x44 4 Repeat_back_bias 0x19
0x48 4 Repeat_flush 0x1A
0x4C 4 Repeat_read 0x1B
0x54 4 Up_back_bias_neg 0x20
0x58 4 Up_back_bias_pos 0x22
0x5C 4 Up_back_bias_opr 0x24
0x60 4 Down_back_bias_opr 0x26
0x64 4 Down_back_bias_pos 0x28
0x70 4 Down_back_bias_neg 0x2A
0x78 4 Up_gate_stv_read 0x2C
0x7C 4 Down_gate_stv_read 0x2E

.elsetcfg2 file

  • size: 128 bytes
  • format: binary
  • byte order: little-endian
  • when sending from PC or read from device need convert every value from Little-endian to Big-endian(swap byte order)(_byteswap_ulong)
Offset Size Property EIM_REG
0x0 4 Up_gate_cpv1_read 0x30
0x4 4 Down_gate_cpv1_read 0x32
0x8 4 Up_gate_cpv2_read 0x34
0xC 4 Down_gate_cpv2_read 0x36
0x10 4 Up_gate_oe1_read 0x38
0x14 4 Down_gate_oe1_read 0x3A
0x18 4 Up_gate_oe1_read 0x30C
0x1C 4 Down_gate_oe2_read 0x3E
0x20 4 Up_intb 0x40
0x24 4 Down_intb 0x42
0x28 4 Up_roic_rst 0x44
0x2C 4 Down_roic_rst 0x46
0x30 4 Up_roic_frst 0x48
0x34 4 Down_roic_frst 0x4A
0x38 4 Up_roic_srclr 0x4C
0x3C 4 Down_roic_srclr 0x4E
0x40 4 Up_roic_sh00_1 0x50
0x44 4 Down_roic_sh00_1 0x52
0x48 4 Up_roic_sh00_2 0x54
0x4C 4 Down_roic_sh00_2 0x56
0x50 4 Up_roic_sh10_1 0x58
0x54 4 Down_roic_sh10_1 0x5A
0x58 4 Up_roic_sh10_2 0x5C
0x5C 4 Down_roic_sh10_2 0x5E
0x60 4 Up_roic_sh20_1 0x60
0x64 4 Down_roic_sh20_1 0x62
0x68 4 Up_roic_sh20_2 0x64
0x6C 4 Down_roic_sh20_2 0x66
0x70 4 Up_roic_sh01_1 0x68
0x74 4 Down_roic_sh01_1 0x6A
0x78 4 Up_roic_sh01_2 0x6C
0x7C 4 Down_roic_sh01_2 0x6E

.elsetcfg3 file

  • size: 128 bytes
  • format: binary
  • byte order: little-endian
  • when sending from PC or read from device need convert every value from Little-endian to Big-endian(swap byte order)(_byteswap_ulong)
Offset Size Property EIM_REG
0x0 4 Up_roic_sh11_1 0x70
0x4 4 Down_roic_sh11_1 0x72
0x8 4 Up_roic_sh11_2 0x74
0xC 4 Down_roic_sh11_2 0x76
0x10 4 Up_roic_sh21_1 0x78
0x14 4 Down_roic_sh21_1 0x7A
0x18 4 Up_roic_sh21_2 0x7C
0x1C 4 Down_roic_sh21_2 0x7E
0x20 4 Up_roic_eosup 0x80
0x24 4 Down_roic_eosup 0x82
0x28 4 Up_roic_oe 0x84
0x2C 4 Down_roic_oe 0x86
0x30 4 Exp_delay 0xD0
0x34 4 Sum_triggering 0xD8
0x38 4 Pre_delay 0xDD
0x3C 4 Post_delay 0xDE
0x40 4 Pos_diff_th 0xE0
0x44 4 Neg_diff_th 0xE2
0x48 4 Num_line_diff 0xE4
0x4C 4 Ctrl_shock 0xE6
0x58 4 Up_gate_stv_flush 0x88
0x5C 4 Down_gate_stv_flush 0x8A
0x60 4 Up_gate_cpv_flush 0x8C
0x64 4 Down_gate_cpv_flush 0x8E
0x68 4 Up_gate_oe_flush 0x90
0x6C 4 Down_gate_oe_flush 0x92
0x70 4 Reserved 0xA0
0x74 4 Reserved 0xA2
0x7C 4 Repeat_3rd_bb_rd 0xE7