High Voltage index changed for jungfrau

This commit is contained in:
2016-02-22 15:11:30 +01:00
parent e7a7dd8c6b
commit d8007477b5
2 changed files with 7 additions and 1 deletions

View File

@ -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;