mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-27 16:50:02 +02:00
gap pixels should be allowed to set to 0 for other detectors
This commit is contained in:
parent
662f502d4c
commit
97260510f2
@ -2446,12 +2446,10 @@ int slsReceiverTCPIPInterface::enable_gap_pixels() {
|
||||
if (mySock->ReceiveDataOnly(&enable,sizeof(enable)) < 0 )
|
||||
return printSocketReadError();
|
||||
|
||||
if (myDetectorType != EIGER)
|
||||
functionNotImplemented();
|
||||
|
||||
|
||||
// execute action
|
||||
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
|
||||
else {
|
||||
if (receiverBase == NULL)
|
||||
invalidReceiverObject();
|
||||
else {
|
||||
@ -2462,6 +2460,9 @@ int slsReceiverTCPIPInterface::enable_gap_pixels() {
|
||||
else if (receiverBase->getStatus() != IDLE)
|
||||
receiverNotIdle();
|
||||
else {
|
||||
if ((myDetectorType != EIGER) && (enable > 0))
|
||||
functionNotImplemented();
|
||||
else
|
||||
receiverBase->setGapPixelsEnable(enable);
|
||||
}
|
||||
}
|
||||
@ -2473,7 +2474,6 @@ int slsReceiverTCPIPInterface::enable_gap_pixels() {
|
||||
FILE_LOG(logERROR) << "Warning: " << mess;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#ifdef VERYVERBOSE
|
||||
FILE_LOG(logDEBUG1) << "Activate: " << retval;
|
||||
|
Loading…
x
Reference in New Issue
Block a user