mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 19:30:03 +02:00
10g gui bottom offset bug fix
This commit is contained in:
parent
fe76ce9650
commit
c7017eef5b
@ -1630,11 +1630,12 @@ int slsReceiverTCPIPInterface::eiger_read_frame(){
|
|||||||
int linesperpacket = (16*1/dynamicrange);// 16:1 line, 8:2 lines, 4:4 lines, 32: 0.5
|
int linesperpacket = (16*1/dynamicrange);// 16:1 line, 8:2 lines, 4:4 lines, 32: 0.5
|
||||||
int numbytesperlineperport=(EIGER_PIXELS_IN_ONE_ROW/EIGER_MAX_PORTS)*dynamicrange/8;//16:1024,8:512,4:256,32:2048
|
int numbytesperlineperport=(EIGER_PIXELS_IN_ONE_ROW/EIGER_MAX_PORTS)*dynamicrange/8;//16:1024,8:512,4:256,32:2048
|
||||||
int datapacketlength = EIGER_ONE_GIGA_ONE_DATA_SIZE;
|
int datapacketlength = EIGER_ONE_GIGA_ONE_DATA_SIZE;
|
||||||
int total_num_bytes = 1040*(16*dynamicrange)*2;
|
int total_num_bytes = EIGER_ONE_GIGA_ONE_PACKET_SIZE *(EIGER_ONE_GIGA_CONSTANT *dynamicrange)*2;
|
||||||
|
|
||||||
if(tenGigaEnable){
|
if(tenGigaEnable){
|
||||||
linesperpacket = (16*4/dynamicrange);// 16:4 line, 8:8 lines, 4:16 lines, 32: 2
|
linesperpacket = (16*4/dynamicrange);// 16:4 line, 8:8 lines, 4:16 lines, 32: 2
|
||||||
datapacketlength = EIGER_TEN_GIGA_ONE_DATA_SIZE;
|
datapacketlength = EIGER_TEN_GIGA_ONE_DATA_SIZE;
|
||||||
|
total_num_bytes = EIGER_TEN_GIGA_ONE_PACKET_SIZE*(EIGER_TEN_GIGA_CONSTANT*dynamicrange)*2;
|
||||||
}
|
}
|
||||||
//if 1GbE, one line is split into two packets for 32 bit mode, so its special
|
//if 1GbE, one line is split into two packets for 32 bit mode, so its special
|
||||||
else if(dynamicrange == 32){
|
else if(dynamicrange == 32){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user