diff --git a/slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer b/slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer index d3c80a09a..bc929f1b3 100755 Binary files a/slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer and b/slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer differ diff --git a/slsDetectorServers/eigerDetectorServer/bin/eigerDetectorServer_developer b/slsDetectorServers/eigerDetectorServer/bin/eigerDetectorServer_developer index 81574eab9..2e0069719 100755 Binary files a/slsDetectorServers/eigerDetectorServer/bin/eigerDetectorServer_developer and b/slsDetectorServers/eigerDetectorServer/bin/eigerDetectorServer_developer differ diff --git a/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer b/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer index 0f4ef75a7..41d873584 100755 Binary files a/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer and b/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer differ diff --git a/slsDetectorServers/gotthardDetectorServer/bin/gotthardDetectorServer_developer b/slsDetectorServers/gotthardDetectorServer/bin/gotthardDetectorServer_developer index 987b713c3..dc4f22dfb 100755 Binary files a/slsDetectorServers/gotthardDetectorServer/bin/gotthardDetectorServer_developer and b/slsDetectorServers/gotthardDetectorServer/bin/gotthardDetectorServer_developer differ diff --git a/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer b/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer index 65dbc3634..5c1be070c 100755 Binary files a/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer and b/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer differ diff --git a/slsDetectorServers/moenchDetectorServer/bin/moenchDetectorServer_developer b/slsDetectorServers/moenchDetectorServer/bin/moenchDetectorServer_developer index c9e1d0c76..f92dee3c4 100755 Binary files a/slsDetectorServers/moenchDetectorServer/bin/moenchDetectorServer_developer and b/slsDetectorServers/moenchDetectorServer/bin/moenchDetectorServer_developer differ diff --git a/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer b/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer index 75b6c9efc..b453217b0 100755 Binary files a/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer and b/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer differ diff --git a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c index 796dd4f3f..6f128fdb4 100644 --- a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c +++ b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c @@ -9220,8 +9220,25 @@ int clear_all_udp_dst(int file_des) { if (check_detector_idle("clear all udp destinations") == OK) { memset(udpDetails, 0, sizeof(udpDetails)); // minimum 1 destination in fpga - numUdpDestinations = 1; - configure_mac(); + int numdest = 1; + // set number of destinations +#if defined(JUNGFRAUD) || defined(EIGERD) + if (setNumberofDestinations(numdest) == FAIL) { + ret = FAIL; + strcpy(mess, "Could not clear udp destinations to 1 entry.\n"); + LOG(logERROR, (mess)); + } else +#endif + { + numUdpDestinations = numdest; + LOG(logINFOBLUE, ("Number of UDP Destinations: %d\n", + numUdpDestinations)); + ret = configureMAC(); + if (ret == FAIL) { + strcpy(mess, "Could not clear all destinations in the fpga.\n"); + LOG(logERROR, (mess)); + } + } } } return Server_SendResult(file_des, INT32, NULL, 0); diff --git a/slsSupportLib/include/sls/versionAPI.h b/slsSupportLib/include/sls/versionAPI.h index edc8d4d6f..e478785d8 100644 --- a/slsSupportLib/include/sls/versionAPI.h +++ b/slsSupportLib/include/sls/versionAPI.h @@ -5,10 +5,11 @@ #define APILIB 0x211125 #define APIRECEIVER 0x211124 #define APIGUI 0x211124 -#define APICTB 0x220321 -#define APIGOTTHARD 0x220321 -#define APIGOTTHARD2 0x220321 -#define APIJUNGFRAU 0x220321 -#define APIMYTHEN3 0x220321 -#define APIMOENCH 0x220321 -#define APIEIGER 0x220321 + +#define APICTB 0x220902 +#define APIGOTTHARD 0x220902 +#define APIGOTTHARD2 0x220902 +#define APIJUNGFRAU 0x220902 +#define APIMYTHEN3 0x220902 +#define APIMOENCH 0x220902 +#define APIEIGER 0x220902