Commit 70187f42 by iowa\cschwarz

do NOT return false when rcode != eDAQ_READ_OK && rcode != eDAQ_READ_EOF so that…

do NOT return false when rcode != eDAQ_READ_OK && rcode != eDAQ_READ_EOF so that the process tries to continue
parent 95cfe4d5
......@@ -2,7 +2,7 @@
///
// DAQ low level IO Library
//
// $Id: DaqFileIO.cxx,v 1.21 2013/04/30 00:59:10 IOWA\vhorosewski Exp $
// $Id: DaqFileIO.cxx,v 1.22 2016/04/19 20:53:03 iowa\cschwarz Exp $
// Date: March, 2005
// Author: Yiannis Papelis
//
......@@ -1792,7 +1792,8 @@ CDaqLowLevelIo::GetFullData(
if ( rcode != eDAQ_READ_OK && rcode != eDAQ_READ_EOF) {
sprintf(buf, "ReadFrameHeader returned %d (curFrame=%d, last=%d)", rcode, curFrame, frm2);
m_LastError = buf;
return false;
//return false;
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment