mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 00:58:01 +02:00
slsReceiver, slsDetector, eiger and jungfrau server: client checks firmware and software an dreceiver compatibility for each time shared memory is cleaned up
This commit is contained in:
@ -290,11 +290,12 @@ class slsDetector : public slsDetectorUtils, public energyConversion {
|
||||
/** frames per file in receiver */
|
||||
int receiver_framesPerFile;
|
||||
|
||||
/** detector software API version */
|
||||
int detector_software_api_version;
|
||||
|
||||
/** receiver API version */
|
||||
int receiver_api_version;
|
||||
/** detector control server software API version */
|
||||
int64_t detectorControlAPIVersion;
|
||||
/** detector stop server software API version */
|
||||
int64_t detectorStopAPIVersion;
|
||||
/** receiver server software API version */
|
||||
int64_t receiverAPIVersion;
|
||||
|
||||
|
||||
} sharedSlsDetector;
|
||||
@ -2059,6 +2060,14 @@ class slsDetector : public slsDetectorUtils, public energyConversion {
|
||||
*/
|
||||
int restreamStopFromReceiver();
|
||||
|
||||
/**
|
||||
* Check version compatibility with detector/receiver software
|
||||
* (if hostname/rx_hostname has been set/ sockets created)
|
||||
* \param p port type control port or receiver port
|
||||
* \returns FAIL for incompatibility, OK for compatibility
|
||||
*/
|
||||
int checkVersionCompatibility(portType t);
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user