Added DACs for ne chiptestboard; fixed problem on dac14/highvoltage for moench

This commit is contained in:
2016-08-16 15:15:24 +02:00
parent 597f5e5d2a
commit b90ca7b864
3 changed files with 43 additions and 5 deletions

View File

@ -2277,8 +2277,8 @@ dacs_t slsDetector::setDAC(dacs_t val, dacIndex index, int mV, int imod){
int arg[3];
if ( (thisDetector->myDetectorType != GOTTHARD) && (thisDetector->myDetectorType != PROPIX) && index==HV_POT)
index=HV_NEW;
if ( (thisDetector->myDetectorType == GOTTHARD) || (thisDetector->myDetectorType == PROPIX) && index==HV_NEW)
index=HV_POT;
arg[0]=index;
arg[1]=imod;