Merge branch 'developer' into jf_h5reader

This commit is contained in:
hinger_v 2025-03-14 12:03:21 +01:00
commit 18d781c35a
4 changed files with 6 additions and 4 deletions

View File

@ -148,6 +148,8 @@ int main(int argc, char *argv[]) {
strcpy(version, APIMYTHEN3);
#elif GOTTHARD2D
strcpy(version, APIGOTTHARD2);
#elif XILINX_CHIPTESTBOARDD
strcpy(version, APIXILINXCTB);
#endif
LOG(logINFO, ("SLS Detector Server Version: %s\n", version));
exit(EXIT_SUCCESS);

View File

@ -915,10 +915,10 @@ void Implementation::CreateUDPSockets() {
}
void Implementation::SetupWriter() {
try {
//check if filePath empty and throw error
if(filePath.empty()){
// check if filePath empty and throw error
if (filePath.empty()) {
throw ReceiverError("File path cannot be empty");
}
// check if folder exists and throw if it cant create

View File

@ -7,6 +7,6 @@
#define APIGOTTHARD2 "developer 0x250310"
#define APIMYTHEN3 "developer 0x250310"
#define APIMOENCH "developer 0x250310"
#define APIXILINXCTB "developer 0x250310"
#define APIEIGER "developer 0x250310"
#define APIJUNGFRAU "developer 0x250311"
#define APIXILINXCTB "developer 0x250311"