mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
gotthard server works
This commit is contained in:
@ -835,9 +835,9 @@ int set_dac(int file_des) {
|
||||
|
||||
// dacs
|
||||
default:
|
||||
if (mV && val > DAC_MAX_VOLTAGE_MV) {
|
||||
if (mV && val > DAC_MAX_MV) {
|
||||
ret = FAIL;
|
||||
sprintf(mess,"Could not set dac %d to value %d. Allowed limits (0 - %d mV).\n", ind, val, DAC_MAX_VOLTAGE_MV);
|
||||
sprintf(mess,"Could not set dac %d to value %d. Allowed limits (0 - %d mV).\n", ind, val, DAC_MAX_MV);
|
||||
FILE_LOG(logERROR,(mess));
|
||||
} else if (!mV && val > getMaxDacSteps() ) {
|
||||
ret = FAIL;
|
||||
|
Reference in New Issue
Block a user