Commit 47d18015 by dheitbri

Add check in GetFullData to insure at least one frame was fetched.

parent 0c5d6b34
......@@ -2,7 +2,7 @@
///
// DAQ low level IO Library
//
// $Id: DaqFileIO.cxx,v 1.12 2005/04/19 19:28:56 yiannis Exp $
// $Id: DaqFileIO.cxx,v 1.13 2005/08/11 14:08:40 dheitbri Exp $
// Date: March, 2005
// Author: Yiannis Papelis
//
......@@ -1713,7 +1713,9 @@ CDaqLowLevelIo::GetFullData(
m_LastError = buf;
return false;
}
if (curFrame>frm2){ //DAH
frm2=curFrame;
}
while ( curFrame <= frm2 ) {
bool curFrameLost = FrameDropped(curFrame);
......
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