mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
eiger:fixed module to be 1 and getmodule saves dacs to variables in server for now
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@625 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
Binary file not shown.
@ -36,7 +36,7 @@ int timingMode = AUTO_TIMING;
|
||||
|
||||
enum detectorSettings thisSettings;
|
||||
int sChan, sChip, sMod, sDac, sAdc;
|
||||
int nModBoard;
|
||||
int nModBoard = 1;
|
||||
extern int dataBytes;
|
||||
|
||||
|
||||
@ -248,7 +248,7 @@ int getADC(enum detDacIndex ind, int imod){
|
||||
|
||||
int setModule(sls_detector_module myMod){
|
||||
#ifdef VERBOSE
|
||||
printf("Setting module\n");
|
||||
printf("Setting module with settings %d\n",myMod.reg);
|
||||
#endif
|
||||
|
||||
//int nchip = myMod.nchip;
|
||||
@ -265,8 +265,12 @@ int setModule(sls_detector_module myMod){
|
||||
}
|
||||
|
||||
int getModule(sls_detector_module *myMod){
|
||||
int i;
|
||||
for(i=0;i<myMod->ndac;i++)
|
||||
myMod->dacs[i]= dacvalues[i];
|
||||
|
||||
//template getModulebyNumber() from mcb_funcs.c
|
||||
return FAIL;
|
||||
return OK;
|
||||
}
|
||||
|
||||
int getThresholdEnergy(int imod){
|
||||
|
@ -2,10 +2,10 @@
|
||||
#define SVNURL "file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware/eigerDetectorServer"
|
||||
//#define SVNREPPATH ""
|
||||
#define SVNREPUUID "951219d9-93cf-4727-9268-0efd64621fa3"
|
||||
//#define SVNREV 0x616
|
||||
//#define SVNREV 0x621
|
||||
//#define SVNKIND ""
|
||||
//#define SVNSCHED ""
|
||||
#define SVNAUTH "l_maliakal_d"
|
||||
#define SVNREV 0x616
|
||||
#define SVNDATE 0x20130619
|
||||
#define SVNREV 0x621
|
||||
#define SVNDATE 0x20130620
|
||||
//
|
||||
|
Reference in New Issue
Block a user