mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
High Voltage index changed for jungfrau
This commit is contained in:
parent
e7a7dd8c6b
commit
d8007477b5
@ -348,7 +348,8 @@ enum dacIndex {
|
||||
E_Vcn, /**< eiger */
|
||||
E_Vis, /**< eiger */
|
||||
IO_DELAY, /**< eiger io delay */
|
||||
ADC_VPP /**< adc vpp for jctb */
|
||||
ADC_VPP, /**< adc vpp for jctb */
|
||||
HV_NEW /**< new hv index for jungfrau & c */
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -2216,6 +2216,11 @@ dacs_t slsDetector::setDAC(dacs_t val, dacIndex index, int mV, int imod){
|
||||
int ret=FAIL;
|
||||
char mess[100];
|
||||
int arg[3];
|
||||
|
||||
|
||||
if ( (thisDetector->myDetectorType != GOTTHARD) && (thisDetector->myDetectorType != PROPIX) && index==HV_POT)
|
||||
index=HV_NEW;
|
||||
|
||||
arg[0]=index;
|
||||
arg[1]=imod;
|
||||
arg[2]=mV;
|
||||
|
Loading…
x
Reference in New Issue
Block a user