Commit d3ccbace by iowa\dheitbri

accidently check in the wrong file......This one corrects the bug created by the last check in.

parent 217979f1
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/// ///
// DAQ low level IO Library // DAQ low level IO Library
// //
// $Id: DaqFileIO.cxx,v 1.17 2011/09/27 00:55:01 iowa\oahmad Exp $ // $Id: DaqFileIO.cxx,v 1.18 2011/10/06 21:53:56 iowa\dheitbri Exp $
// Date: March, 2005 // Date: March, 2005
// Author: Yiannis Papelis // Author: Yiannis Papelis
// //
...@@ -1304,10 +1304,9 @@ CDaqLowLevelIo::LowLevelDataRead( ...@@ -1304,10 +1304,9 @@ CDaqLowLevelIo::LowLevelDataRead(
memset(((char *)pTempSpace) + size, 0, fullSize - size); memset(((char *)pTempSpace) + size, 0, fullSize - size);
} }
daqBuf.Append(pTempSpace, fullSize, ch.GetItemCount()); daqBuf.Append(pTempSpace, fullSize, ch.GetItemCount());
if ( pFrameList ) if ( pFrameList && pFrameList->size() > needChan[chId])
{ {
// (*pFrameList)[needChan[chId]].push_back(curFrame); (*pFrameList)[needChan[chId]].push_back(curFrame);
(*pFrameList)[idx].push_back(curFrame);
} }
} }
else { else {
......
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