mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 16:20:03 +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);
|
strcpy(version, APIMYTHEN3);
|
||||||
#elif GOTTHARD2D
|
#elif GOTTHARD2D
|
||||||
strcpy(version, APIGOTTHARD2);
|
strcpy(version, APIGOTTHARD2);
|
||||||
|
#elif XILINX_CHIPTESTBOARDD
|
||||||
|
strcpy(version, APIXILINXCTB);
|
||||||
#endif
|
#endif
|
||||||
LOG(logINFO, ("SLS Detector Server Version: %s\n", version));
|
LOG(logINFO, ("SLS Detector Server Version: %s\n", version));
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
|
Binary file not shown.
@ -915,10 +915,10 @@ void Implementation::CreateUDPSockets() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Implementation::SetupWriter() {
|
void Implementation::SetupWriter() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
//check if filePath empty and throw error
|
// check if filePath empty and throw error
|
||||||
if(filePath.empty()){
|
if (filePath.empty()) {
|
||||||
throw ReceiverError("File path cannot be empty");
|
throw ReceiverError("File path cannot be empty");
|
||||||
}
|
}
|
||||||
// check if folder exists and throw if it cant create
|
// check if folder exists and throw if it cant create
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
#define APIGOTTHARD2 "developer 0x250310"
|
#define APIGOTTHARD2 "developer 0x250310"
|
||||||
#define APIMYTHEN3 "developer 0x250310"
|
#define APIMYTHEN3 "developer 0x250310"
|
||||||
#define APIMOENCH "developer 0x250310"
|
#define APIMOENCH "developer 0x250310"
|
||||||
#define APIXILINXCTB "developer 0x250310"
|
|
||||||
#define APIEIGER "developer 0x250310"
|
#define APIEIGER "developer 0x250310"
|
||||||
#define APIJUNGFRAU "developer 0x250311"
|
#define APIJUNGFRAU "developer 0x250311"
|
||||||
|
#define APIXILINXCTB "developer 0x250311"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user