mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 00:58:01 +02:00
Added DACs for ne chiptestboard; fixed problem on dac14/highvoltage for moench
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user