mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 22:51:30 +01:00
Niosmarie (#63)
* HV for Mythen3 server * HV for mythen3 server * corrected upstreams * missing endif
This commit is contained in:
committed by
Dhanya Thattil
parent
40b62ef5a4
commit
4b987abf41
@@ -10,11 +10,38 @@
|
||||
#define NCHIP (10)
|
||||
#define NDAC (16)
|
||||
#define TEMP_CLK (20) /* MHz */
|
||||
|
||||
#define HV_SOFT_MAX_VOLTAGE (200)
|
||||
#define HV_HARD_MAX_VOLTAGE (530)
|
||||
#define HV_DRIVER_FILE_NAME ("/root/devlinks/hvdac")
|
||||
|
||||
/** Default Parameters */
|
||||
#define DEFAULT_NUM_FRAMES (1)
|
||||
#define DEFAULT_NUM_CYCLES (1)
|
||||
#define DEFAULT_EXPTIME (100*1000*1000) //ns
|
||||
#define DEFAULT_PERIOD (2*1000*1000) //ns
|
||||
#define DEFAULT_HIGH_VOLTAGE (0)
|
||||
|
||||
|
||||
/* Enums */
|
||||
enum DACINDEX {VIBIASSH, VTRIM, VIPRE, VRFSHNPOL, VTH1, VIPREOUT, VRF, VTH2, CAS, CASSH, VPL, VDCSH, VICIN, VICINSH, VICBIAS, VPH, VTH3, VRFSH};
|
||||
#define DEFAULT_DAC_VALS {1200, /* vIbiasSh */ \
|
||||
2300, /* vTrim */ \
|
||||
2150, /* vIpre */ \
|
||||
2300, /* VrfShNpol */ \
|
||||
900, /* Vth1 */ \
|
||||
1000, /* vIpreOut */ \
|
||||
900, /* Vrf */ \
|
||||
900, /* Vth2 */ \
|
||||
1474, /* cas */ \
|
||||
983, /* casSh */ \
|
||||
900, /* VPL */ \
|
||||
655, /* VdcSh */ \
|
||||
1400, /* vIcin */ \
|
||||
1400, /* vIcinSh */ \
|
||||
1200, /* vIcbias */ \
|
||||
960, /* VPH */ \
|
||||
900, /* Vth3 */ \
|
||||
1100 /* VrfSh */ \
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user