mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02:00
vtrimbit size and vthreshold common for eiger
This commit is contained in:
Binary file not shown.
@ -1,9 +1,9 @@
|
||||
Path: slsDetectorsPackage/slsDetectorSoftware/eigerDetectorServer
|
||||
URL: origin git@gitorious.psi.ch:sls_det_software/sls_detector_software.git/eigerDetectorServer
|
||||
Repository Root: origin git@gitorious.psi.ch:sls_det_software/sls_detector_software.git
|
||||
Repsitory UUID: 8c994ea0d538628b36a9497508960388816749fa
|
||||
Revision: 87
|
||||
Repsitory UUID: c31619c88e5690230fcd389dc18f9139295c442c
|
||||
Revision: 91
|
||||
Branch: master
|
||||
Last Changed Author: Maliakal_Dhanya
|
||||
Last Changed Rev: 278
|
||||
Last Changed Date: 2014-08-08 14:03:30 +0200
|
||||
Last Changed Rev: 280
|
||||
Last Changed Date: 2014-09-09 15:43:18 +0200
|
||||
|
@ -1,11 +1,11 @@
|
||||
//#define SVNPATH ""
|
||||
#define SVNURL "git@gitorious.psi.ch:sls_det_software/sls_detector_software.git/eigerDetectorServer"
|
||||
//#define SVNREPPATH ""
|
||||
#define SVNREPUUID "8c994ea0d538628b36a9497508960388816749fa"
|
||||
//#define SVNREV 0x278
|
||||
#define SVNREPUUID "c31619c88e5690230fcd389dc18f9139295c442c"
|
||||
//#define SVNREV 0x280
|
||||
//#define SVNKIND ""
|
||||
//#define SVNSCHED ""
|
||||
#define SVNAUTH "Maliakal_Dhanya"
|
||||
#define SVNREV 0x278
|
||||
#define SVNDATE 0x20140808
|
||||
#define SVNREV 0x280
|
||||
#define SVNDATE 0x20140909
|
||||
//
|
||||
|
@ -259,6 +259,13 @@ int detectorTest( enum digitalTestMode arg){
|
||||
|
||||
|
||||
void setDAC(enum detDacIndex ind, int val, int imod, int mV, int retval[]){
|
||||
|
||||
if(ind == VTHRESHOLD){
|
||||
setDAC(VCMP_LL,val,imod,mV,retval);
|
||||
setDAC(VCMP_LR,val,imod,mV,retval);
|
||||
setDAC(VCMP_RL,val,imod,mV,retval);
|
||||
ind = VCMP_RR;
|
||||
}
|
||||
char iname[10];
|
||||
|
||||
if(((int)ind>=0)&&((int)ind<NDAC))
|
||||
|
@ -35,6 +35,6 @@
|
||||
#define DYNAMIC_RANGE 16
|
||||
|
||||
|
||||
enum detDacIndex{SVP,VTR,VRF,VRS,SVN,VTGSTV,VCMP_LL,VCMP_LR,CAL,VCMP_RL,RXB_RB,RXB_LB,VCMP_RR,VCP,VCN,VIS};
|
||||
enum detDacIndex{SVP,VTR,VRF,VRS,SVN,VTGSTV,VCMP_LL,VCMP_LR,CAL,VCMP_RL,RXB_RB,RXB_LB,VCMP_RR,VCP,VCN,VIS,VTHRESHOLD};
|
||||
|
||||
#endif /* SLSDETECTORSERVER_DEFS_H_ */
|
||||
|
@ -1,9 +1,9 @@
|
||||
Path: slsDetectorsPackage/slsDetectorSoftware
|
||||
URL: origin git@gitorious.psi.ch:sls_det_software/sls_detector_software.git
|
||||
Repository Root: origin git@gitorious.psi.ch:sls_det_software/sls_detector_software.git
|
||||
Repsitory UUID: 8c994ea0d538628b36a9497508960388816749fa
|
||||
Revision: 848
|
||||
Repsitory UUID: c31619c88e5690230fcd389dc18f9139295c442c
|
||||
Revision: 852
|
||||
Branch: master
|
||||
Last Changed Author: Maliakal_Dhanya
|
||||
Last Changed Rev: 848
|
||||
Last Changed Date: 2014-08-08 14:03:30 +0200
|
||||
Last Changed Rev: 852
|
||||
Last Changed Date: 2014-09-09 15:43:18 +0200
|
||||
|
@ -1,9 +1,9 @@
|
||||
Path: slsDetectorsPackage/slsDetectorSoftware/gotthardDetectorServer
|
||||
URL: origin git@gitorious.psi.ch:sls_det_software/sls_detector_software.git/gotthardDetectorServer
|
||||
Repository Root: origin git@gitorious.psi.ch:sls_det_software/sls_detector_software.git
|
||||
Repsitory UUID: 8c994ea0d538628b36a9497508960388816749fa
|
||||
Revision: 172
|
||||
Repsitory UUID: c31619c88e5690230fcd389dc18f9139295c442c
|
||||
Revision: 173
|
||||
Branch: master
|
||||
Last Changed Author: Maliakal_Dhanya
|
||||
Last Changed Rev: 278
|
||||
Last Changed Date: 2014-08-08 14:03:30 +0200
|
||||
Last Changed Rev: 280
|
||||
Last Changed Date: 2014-09-09 15:43:18 +0200
|
||||
|
@ -1,11 +1,11 @@
|
||||
//#define SVNPATH ""
|
||||
#define SVNURL "git@gitorious.psi.ch:sls_det_software/sls_detector_software.git/gotthardDetectorServer"
|
||||
//#define SVNREPPATH ""
|
||||
#define SVNREPUUID "8c994ea0d538628b36a9497508960388816749fa"
|
||||
//#define SVNREV 0x278
|
||||
#define SVNREPUUID "c31619c88e5690230fcd389dc18f9139295c442c"
|
||||
//#define SVNREV 0x280
|
||||
//#define SVNKIND ""
|
||||
//#define SVNSCHED ""
|
||||
#define SVNAUTH "Maliakal_Dhanya"
|
||||
#define SVNREV 0x278
|
||||
#define SVNDATE 0x20140808
|
||||
#define SVNREV 0x280
|
||||
#define SVNDATE 0x20140909
|
||||
//
|
||||
|
@ -1,9 +1,9 @@
|
||||
Path: slsDetectorsPackage/slsDetectorSoftware/moenchDetectorServer
|
||||
URL: origin git@gitorious.psi.ch:sls_det_software/sls_detector_software.git/moenchDetectorServer
|
||||
Repository Root: origin git@gitorious.psi.ch:sls_det_software/sls_detector_software.git
|
||||
Repsitory UUID: 8c994ea0d538628b36a9497508960388816749fa
|
||||
Revision: 57
|
||||
Repsitory UUID: c31619c88e5690230fcd389dc18f9139295c442c
|
||||
Revision: 58
|
||||
Branch: master
|
||||
Last Changed Author: Maliakal_Dhanya
|
||||
Last Changed Rev: 278
|
||||
Last Changed Date: 2014-08-08 14:03:30 +0200
|
||||
Last Changed Rev: 280
|
||||
Last Changed Date: 2014-09-09 15:43:18 +0200
|
||||
|
@ -1,11 +1,11 @@
|
||||
//#define SVNPATH ""
|
||||
#define SVNURL "git@gitorious.psi.ch:sls_det_software/sls_detector_software.git/moenchDetectorServer"
|
||||
//#define SVNREPPATH ""
|
||||
#define SVNREPUUID "8c994ea0d538628b36a9497508960388816749fa"
|
||||
//#define SVNREV 0x278
|
||||
#define SVNREPUUID "c31619c88e5690230fcd389dc18f9139295c442c"
|
||||
//#define SVNREV 0x280
|
||||
//#define SVNKIND ""
|
||||
//#define SVNSCHED ""
|
||||
#define SVNAUTH "Maliakal_Dhanya"
|
||||
#define SVNREV 0x278
|
||||
#define SVNDATE 0x20140808
|
||||
#define SVNREV 0x280
|
||||
#define SVNDATE 0x20140909
|
||||
//
|
||||
|
@ -1,9 +1,9 @@
|
||||
Path: slsDetectorsPackage/slsDetectorSoftware/mythenDetectorServer
|
||||
URL: origin git@gitorious.psi.ch:sls_det_software/sls_detector_software.git/mythenDetectorServer
|
||||
Repository Root: origin git@gitorious.psi.ch:sls_det_software/sls_detector_software.git
|
||||
Repsitory UUID: 8c994ea0d538628b36a9497508960388816749fa
|
||||
Revision: 89
|
||||
Repsitory UUID: c31619c88e5690230fcd389dc18f9139295c442c
|
||||
Revision: 90
|
||||
Branch: master
|
||||
Last Changed Author: Maliakal_Dhanya
|
||||
Last Changed Rev: 278
|
||||
Last Changed Date: 2014-08-08 14:03:30 +0200
|
||||
Last Changed Rev: 280
|
||||
Last Changed Date: 2014-09-09 15:43:18 +0200
|
||||
|
@ -1,11 +1,11 @@
|
||||
//#define SVNPATH ""
|
||||
#define SVNURL "git@gitorious.psi.ch:sls_det_software/sls_detector_software.git/mythenDetectorServer"
|
||||
//#define SVNREPPATH ""
|
||||
#define SVNREPUUID "8c994ea0d538628b36a9497508960388816749fa"
|
||||
//#define SVNREV 0x278
|
||||
#define SVNREPUUID "c31619c88e5690230fcd389dc18f9139295c442c"
|
||||
//#define SVNREV 0x280
|
||||
//#define SVNKIND ""
|
||||
//#define SVNSCHED ""
|
||||
#define SVNAUTH "Maliakal_Dhanya"
|
||||
#define SVNREV 0x278
|
||||
#define SVNDATE 0x20140808
|
||||
#define SVNREV 0x280
|
||||
#define SVNDATE 0x20140909
|
||||
//
|
||||
|
@ -1,11 +1,11 @@
|
||||
//#define SVNPATH ""
|
||||
#define SVNURLLIB "git@gitorious.psi.ch:sls_det_software/sls_detector_software.git"
|
||||
//#define SVNREPPATH ""
|
||||
#define SVNREPUUIDLIB "8c994ea0d538628b36a9497508960388816749fa"
|
||||
//#define SVNREV 0x848
|
||||
#define SVNREPUUIDLIB "c31619c88e5690230fcd389dc18f9139295c442c"
|
||||
//#define SVNREV 0x852
|
||||
//#define SVNKIND ""
|
||||
//#define SVNSCHED ""
|
||||
#define SVNAUTHLIB "Maliakal_Dhanya"
|
||||
#define SVNREVLIB 0x848
|
||||
#define SVNDATELIB 0x20140808
|
||||
#define SVNREVLIB 0x852
|
||||
#define SVNDATELIB 0x20140909
|
||||
//
|
||||
|
@ -423,13 +423,7 @@ int slsDetectorActions::executeScan(int level, int istep) {
|
||||
setThresholdEnergy((int)currentScanVariable[level]); //energy scan
|
||||
break;
|
||||
case thresholdScan:
|
||||
if(getDetectorsType() == EIGER){
|
||||
setDAC((dacs_t)currentScanVariable[level],E_Vcmp_ll,0); // threshold scan
|
||||
setDAC((dacs_t)currentScanVariable[level],E_Vcmp_lr,0); // threshold scan
|
||||
setDAC((dacs_t)currentScanVariable[level],E_Vcmp_rl,0); // threshold scan
|
||||
setDAC((dacs_t)currentScanVariable[level],E_Vcmp_rr,0); // threshold scan
|
||||
}else
|
||||
setDAC((dacs_t)currentScanVariable[level],THRESHOLD,0); // threshold scan
|
||||
setDAC((dacs_t)currentScanVariable[level],THRESHOLD,0); // threshold scan
|
||||
break;
|
||||
case trimbitsScan:
|
||||
trimbit=(int)currentScanVariable[level];
|
||||
|
@ -1122,6 +1122,12 @@ int set_dac(int file_des) {
|
||||
break;
|
||||
#endif
|
||||
#ifdef EIGERD
|
||||
case TRIMBIT_SIZE:
|
||||
idac = VTR;
|
||||
break;
|
||||
case THRESHOLD:
|
||||
idac = VTHRESHOLD;
|
||||
break;
|
||||
case E_SvP:
|
||||
idac = SVP;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user