mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
ensuring set detector type is the first call
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
//#define SVNPATH ""
|
||||
#define SVNURLLIB "git@git.psi.ch:sls_detectors_software/sls_detector_software.git"
|
||||
//#define SVNREPPATH ""
|
||||
#define SVNREPUUIDLIB "d4b0bef367ef407a3267619196da01dc1636865d"
|
||||
//#define SVNREV 0x1435
|
||||
#define SVNREPUUIDLIB "5d22df1c472895035fdb21ec1104e749aaa41167"
|
||||
//#define SVNREV 0x1436
|
||||
//#define SVNKIND ""
|
||||
//#define SVNSCHED ""
|
||||
#define SVNAUTHLIB "Dhanya_Maliakal"
|
||||
#define SVNREVLIB 0x1435
|
||||
#define SVNDATELIB 0x20170628
|
||||
#define SVNREVLIB 0x1436
|
||||
#define SVNDATELIB 0x20170629
|
||||
//
|
||||
|
@ -1674,7 +1674,7 @@ int slsDetector::setDetectorType(detectorType const type){
|
||||
|
||||
|
||||
//receiver
|
||||
if((retType != GENERIC) && (thisDetector->receiverOnlineFlag==ONLINE_FLAG)) {
|
||||
if((retType != GENERIC) && (thisDetector->receiverOnlineFlag==ONLINE_FLAG) && (arg != GENERIC)) {
|
||||
retval = FAIL;
|
||||
if(thisDetector->receiverOnlineFlag==ONLINE_FLAG){
|
||||
#ifdef VERBOSE
|
||||
@ -6032,8 +6032,6 @@ string slsDetector::setReceiver(string receiverIP){
|
||||
setUDPConnection();
|
||||
if(thisDetector->myDetectorType == EIGER)
|
||||
enableTenGigabitEthernet(thisDetector->tenGigaEnable);
|
||||
//datastreamenable
|
||||
//fifodepth
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user