hardware version (#580)

* hardware version for all dets except eiger
Co-authored-by: Erik Frojdh <erik.frojdh@gmail.com>
This commit is contained in:
Dhanya Thattil
2022-11-24 11:24:05 +01:00
committed by GitHub
parent cd270160d8
commit 2ff5291f48
34 changed files with 359 additions and 156 deletions

View File

@ -273,6 +273,7 @@ enum detFuncs {
F_GET_MODULE,
F_GET_SYNCHRONIZATION,
F_SET_SYNCHRONIZATION,
F_GET_HARDWARE_VERSION,
NUM_DET_FUNCTIONS,
RECEIVER_ENUM_START = 512, /**< detector function should not exceed this
@ -651,6 +652,7 @@ const char* getFunctionNameFromEnum(enum detFuncs func) {
case F_GET_MODULE: return "F_GET_MODULE";
case F_GET_SYNCHRONIZATION: return "F_GET_SYNCHRONIZATION";
case F_SET_SYNCHRONIZATION: return "F_SET_SYNCHRONIZATION";
case F_GET_HARDWARE_VERSION: return "F_GET_HARDWARE_VERSION";
case NUM_DET_FUNCTIONS: return "NUM_DET_FUNCTIONS";
case RECEIVER_ENUM_START: return "RECEIVER_ENUM_START";

View File

@ -2,12 +2,12 @@
// Copyright (C) 2021 Contributors to the SLS Detector Package
/** API versions */
#define RELEASE "developer"
#define APICTB "developer 0x221108"
#define APIGOTTHARD "developer 0x221108"
#define APIGOTTHARD2 "developer 0x221108"
#define APIMYTHEN3 "developer 0x221108"
#define APIMOENCH "developer 0x221108"
#define APIEIGER "developer 0x221108"
#define APILIB "developer 0x221108"
#define APIRECEIVER "developer 0x221108"
#define APIJUNGFRAU "developer 0x221118"
#define APICTB "developer 0x221124"
#define APIGOTTHARD "developer 0x221124"
#define APIGOTTHARD2 "developer 0x221124"
#define APIJUNGFRAU "developer 0x221124"
#define APIMYTHEN3 "developer 0x221124"
#define APIMOENCH "developer 0x221124"