mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
get version number for receiver
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@414 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -1563,9 +1563,10 @@ slsDetectorDefs::externalCommunicationMode slsDetector::setExternalCommunication
|
||||
MODULE_FIRMWARE_VERSION,
|
||||
DETECTOR_SERIAL_NUMBER,
|
||||
DETECTOR_FIRMWARE_VERSION,
|
||||
DETECTOR_SOFTWARE_VERSION
|
||||
DETECTOR_SOFTWARE_VERSION,
|
||||
THIS_SOFTWARE_VERSION,
|
||||
RECEIVER_VERSION
|
||||
}{};
|
||||
|
||||
*/
|
||||
|
||||
|
||||
@ -1590,6 +1591,12 @@ int64_t slsDetector::getId( idMode mode, int imod){
|
||||
ret=OK;
|
||||
retval=SVNREVLIB;
|
||||
retval=(retval<<32) | SVNDATELIB;
|
||||
} else if (mode==RECEIVER_VERSION) {
|
||||
if (setReceiverOnline(ONLINE_FLAG)==ONLINE_FLAG) {
|
||||
ret=thisReceiver->getInt(fnum,retval);
|
||||
if(ret==FORCE_UPDATE)
|
||||
ret=updateReceiver();
|
||||
}
|
||||
} else {
|
||||
if (thisDetector->onlineFlag==ONLINE_FLAG) {
|
||||
if (controlSocket) {
|
||||
|
Reference in New Issue
Block a user