mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-25 15:50:03 +02:00
do not complain when setting timers
This commit is contained in:
parent
c724756b5f
commit
e8217b0867
@ -977,23 +977,15 @@ int slsReceiverTCPIPInterface::set_timer() {
|
||||
if (index[1] >= 0) {
|
||||
if (mySock->differentClients && lockStatus)
|
||||
receiverlocked();
|
||||
else if (receiverBase->getStatus() != IDLE)
|
||||
receiverNotIdle();
|
||||
// else if (receiverBase->getStatus() != IDLE)
|
||||
// receiverNotIdle();
|
||||
else {
|
||||
switch (index[0]) {
|
||||
case ACQUISITION_TIME:
|
||||
ret = receiverBase->setAcquisitionTime(index[1]);
|
||||
if (ret == FAIL) {
|
||||
strcpy(mess,"Could not allocate memory for listening fifo\n");
|
||||
FILE_LOG(logERROR) << "Warning: " << mess;
|
||||
}
|
||||
break;
|
||||
case FRAME_PERIOD:
|
||||
ret = receiverBase->setAcquisitionPeriod(index[1]);
|
||||
if (ret == FAIL) {
|
||||
strcpy(mess,"Could not allocate memory for listening fifo\n");
|
||||
FILE_LOG(logERROR) << "Warning: " << mess;
|
||||
}
|
||||
break;
|
||||
case FRAME_NUMBER:
|
||||
case CYCLES_NUMBER:
|
||||
|
Loading…
x
Reference in New Issue
Block a user