AcquisitionDevice: Fix some unnecessary debug printing
This commit is contained in:
@@ -175,7 +175,7 @@ void AcquisitionDevice::WaitForActionComplete() {
|
||||
}
|
||||
|
||||
if (logger != nullptr)
|
||||
logger->Info("Data stream " + std::to_string(data_stream)
|
||||
logger->Debug("Data stream " + std::to_string(data_stream)
|
||||
+ " completion frame number " + std::to_string(c.frame_number)
|
||||
+ " module " + std::to_string(c.module)
|
||||
+ " handle " + std::to_string(c.handle)
|
||||
@@ -188,14 +188,8 @@ void AcquisitionDevice::WaitForActionComplete() {
|
||||
counters.SetAcquisitionFinished();
|
||||
|
||||
end_time = std::chrono::system_clock::now();
|
||||
if (logger)
|
||||
logger->Info("End 1");
|
||||
HW_SetCancelDataCollectionBit();
|
||||
if (logger)
|
||||
logger->Info("End 2");
|
||||
HW_SetCancelDataCollectionBit();
|
||||
HW_EndAction();
|
||||
if (logger)
|
||||
logger->Info("End 3");
|
||||
while (!HW_IsIdle())
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user