Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DaqIOLib
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
NADS-Public
DaqIOLib
Commits
81f3335f
Commit
81f3335f
authored
Sep 27, 2011
by
iowa\oahmad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made slight modification to frame number reporting.
parent
e2cb3f35
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
DaqFileIO.cxx
DaqFileIO.cxx
+6
-3
No files found.
DaqFileIO.cxx
View file @
81f3335f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
///
///
// DAQ low level IO Library
// DAQ low level IO Library
//
//
// $Id: DaqFileIO.cxx,v 1.1
6 2011/06/20 14:36:30 iowa\dheitbri
Exp $
// $Id: DaqFileIO.cxx,v 1.1
7 2011/09/27 00:55:01 iowa\oahmad
Exp $
// Date: March, 2005
// Date: March, 2005
// Author: Yiannis Papelis
// Author: Yiannis Papelis
//
//
...
@@ -1304,7 +1304,11 @@ CDaqLowLevelIo::LowLevelDataRead(
...
@@ -1304,7 +1304,11 @@ 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
)
(
*
pFrameList
)[
needChan
[
chId
]].
push_back
(
curFrame
);
if
(
pFrameList
)
{
// (*pFrameList)[needChan[chId]].push_back(curFrame);
(
*
pFrameList
)[
idx
].
push_back
(
curFrame
);
}
}
}
else
{
else
{
// skip the data
// skip the data
...
@@ -2054,7 +2058,6 @@ CDaqLowLevelIo::ReadFrameHeader(
...
@@ -2054,7 +2058,6 @@ CDaqLowLevelIo::ReadFrameHeader(
}
}
return
eDAQ_READ_EOF
;
return
eDAQ_READ_EOF
;
}
}
// If we get here, then what we expected to be a frame header is not.
// If we get here, then what we expected to be a frame header is not.
// Most likely some data didn't make it and we are out of sync with
// Most likely some data didn't make it and we are out of sync with
// where things are. We will try to resynchronize by looking for
// where things are. We will try to resynchronize by looking for
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment