mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02:00
fixed 32 progress problem, and increased debugging
This commit is contained in:
Binary file not shown.
@ -9,8 +9,6 @@
|
||||
|
||||
#include "slsDetectorFunctionList.h"
|
||||
#include "gitInfoEiger.h"
|
||||
/*#include "EigerHighLevelFunctions.c"
|
||||
#include "EigerBackEndFunctions.c"*/
|
||||
#include "FebControl.h"
|
||||
#include "Beb.h"
|
||||
|
||||
@ -61,6 +59,9 @@ int top = 0;
|
||||
int master = 0;
|
||||
|
||||
|
||||
#define TEN_GIGA_BUFFER_SIZE 4112
|
||||
#define ONE_GIGA_BUFFER_SIZE 1040
|
||||
|
||||
int initDetector(){
|
||||
int imod,i,n;
|
||||
n = getNModBoard(1);
|
||||
@ -792,7 +793,10 @@ int configureMAC(int ipad, long long int macad, long long int detectormacadd, in
|
||||
|
||||
|
||||
int calculateDataBytes(){
|
||||
return setDynamicRange(-1)*16*1040;
|
||||
if(send_to_ten_gig)
|
||||
return setDynamicRange(-1)*16*TEN_GIGA_BUFFER_SIZE;
|
||||
else
|
||||
return setDynamicRange(-1)*16*ONE_GIGA_BUFFER_SIZE;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user