From 5b4528925d2d6fe27d2871330f017fa0580e5029 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Tue, 1 Nov 2016 08:10:52 +0100 Subject: [PATCH] some changes --- slsDetectorSoftware/slsDetector/slsDetector.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/slsDetector/slsDetector.cpp b/slsDetectorSoftware/slsDetector/slsDetector.cpp index 0f67d4ebf..096506bde 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetector.cpp @@ -3560,6 +3560,7 @@ int slsDetector::updateDetectorNoWait() { //retval=setPeriod(tns); n = controlSocket->ReceiveDataOnly( &retval,sizeof(int64_t)); thisDetector->timerValue[FRAME_PERIOD]=retval; + cprintf(RED,"updated frame period to %lld\n", (long long int)thisDetector->timerValue[FRAME_PERIOD]); //retval=setDelay(tns); n = controlSocket->ReceiveDataOnly( &retval,sizeof(int64_t)); thisDetector->timerValue[DELAY_AFTER_TRIGGER]=retval; @@ -5546,7 +5547,7 @@ char* slsDetector::setReceiver(string receiverIP){ strcpy(thisDetector->receiver_hostname,receiverIP.c_str()); if(setReceiverOnline(ONLINE_FLAG)==ONLINE_FLAG){ -#ifdef VERBOSE +//#ifdef VERBOSE std::cout << "Setting up receiver with" << endl; std::cout << "detector type:" << slsDetectorBase::getDetectorType(thisDetector->myDetectorType) << endl; std::cout << "detector hostname:" << thisDetector->hostname << endl; @@ -5564,7 +5565,7 @@ char* slsDetector::setReceiver(string receiverIP){ std::cout << "10GbE:" << thisDetector->tenGigaEnable << endl << endl; //std::cout << "dataStreaming:" << enableDataStreamingFromReceiver(-1) << endl << endl; /** enable compresison, */ -#endif +//#endif if(setDetectorType()!= GENERIC){ setDetectorHostname(); setFilePath(fileIO::getFilePath());