diff --git a/MAC/APL/PIC/RSP_Driver/src/rspctl.cc b/MAC/APL/PIC/RSP_Driver/src/rspctl.cc
index e082d46597f747fafe341a85116e30820eca3e38..26538609111ae09ff002329fa6343c13702c94fc 100644
--- a/MAC/APL/PIC/RSP_Driver/src/rspctl.cc
+++ b/MAC/APL/PIC/RSP_Driver/src/rspctl.cc
@@ -2116,7 +2116,7 @@ void StatisticsCommand::capture_statistics(Array<double, 2>& stats, const Timest
 
 			Timestamp timeNow;
 			timeNow.setNow();
-			if(timeNow >= m_duration) {
+			if(m_nseconds >= m_duration) {
 				logMessage(cout,"Statistics capturing successfully ended.");
 				stop();
 				GCFScheduler::instance()->stop();