mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 08:10:02 +02:00
Merge pull request #1145 from slsdetectorgroup/dev/xilinx_ctb_api
add xilinx ctb api to --versions command
This commit is contained in:
commit
5a8213024e
@ -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);
|
||||
|
Binary file not shown.
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user