diff --git a/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer b/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer index 1d14e8656..fedf3ee7f 100755 Binary files a/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer and b/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer differ diff --git a/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c index bc7d9261c..c2644a1eb 100644 --- a/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c @@ -886,8 +886,10 @@ void setCounterMask(uint32_t arg) { updatePacketizing(); LOG(logINFO, ("\tUpdating Exptime and Gate Delay\n")); for (int i = 0; i < 3; ++i) { - setExpTime(i, exptimeReg[i]); - setGateDelay(i, gateDelayReg[i]); + uint64_t ns = exptimeReg[i] / (1E-9 * getFrequency(SYSTEM_C0)); + setExpTime(i, ns); + ns = gateDelayReg[i] / (1E-9 * getFrequency(SYSTEM_C0)); + setGateDelay(i, ns); } } diff --git a/slsSupportLib/include/versionAPI.h b/slsSupportLib/include/versionAPI.h index ccac4daa6..ced7db62a 100644 --- a/slsSupportLib/include/versionAPI.h +++ b/slsSupportLib/include/versionAPI.h @@ -8,5 +8,5 @@ #define APIGOTTHARD 0x201016 #define APIGOTTHARD2 0x201016 #define APIJUNGFRAU 0x201016 -#define APIMYTHEN3 0x201016 #define APIMOENCH 0x201013 +#define APIMYTHEN3 0x201020