From f75785455b5d425d0232a174e79cab77052884ee Mon Sep 17 00:00:00 2001 From: Penny Slocum Date: Thu, 11 Feb 2021 05:51:24 -0500 Subject: [PATCH] Updated log messages. --- Source/Generators/LMCArraySignalGenerator.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Generators/LMCArraySignalGenerator.cc b/Source/Generators/LMCArraySignalGenerator.cc index 4d7c1d9b..133f12bb 100644 --- a/Source/Generators/LMCArraySignalGenerator.cc +++ b/Source/Generators/LMCArraySignalGenerator.cc @@ -462,7 +462,7 @@ namespace locust double VoltageFIRSample = GetFIRSample(nfilterbins, dtfilter, channelIndex, elementIndex); if ((VoltageFIRSample == 0.)&&(index-startingIndex > fFieldBufferSize*fPowerCombiner->GetNElementsPerStrip())) { - LERROR(lmclog,"A digitizer sample was skipped due to likely unresponsive thread. Exiting.\n"); + LERROR(lmclog,"A digitizer sample was skipped due to likely unresponsive thread.\n"); return false; } fPowerCombiner->AddOneVoltageToStripSum(aSignal, VoltageFIRSample, fphiLO, elementIndex, IndexBuffer[channelIndex*fNElementsPerStrip+elementIndex].front()); @@ -653,9 +653,9 @@ namespace locust { PreEventCounter = 0; // reset } - else + else if (!DriveAntenna(fp, startingIndex, index, aSignal, nfilterbins, dtfilter)) { - LERROR(lmclog,"The antenna did not respond correctly. Exiting.\n"); + LERROR(lmclog,"The antenna did not respond correctly after two tries. Exiting.\n"); fSkippedSamples = true; tLock.unlock(); break;