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
3be291e3
Commit
3be291e3
authored
Dec 28, 2011
by
iowa\vhorosewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed small bug that occurred when reading an un-open file
parent
edebc038
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
DaqFileIO.cxx
DaqFileIO.cxx
+3
-1
No files found.
DaqFileIO.cxx
View file @
3be291e3
...
...
@@ -2,7 +2,7 @@
///
// DAQ low level IO Library
//
// $Id: DaqFileIO.cxx,v 1.
19 2011/10/07 20:48:06
iowa\vhorosewski Exp $
// $Id: DaqFileIO.cxx,v 1.
20 2011/12/28 16:12:05
iowa\vhorosewski Exp $
// Date: March, 2005
// Author: Yiannis Papelis
//
...
...
@@ -1838,6 +1838,8 @@ CDaqLowLevelIo::ReadDataForOneFrame(
for
(
idx
=
0
;
idx
<
numEntriesInThisRecord
;
idx
++
)
{
int
chId
;
if
(
m_pFile
==
NULL
)
return
eDAQ_READ_ERROR
;
if
(
fread
(
&
chId
,
sizeof
(
int
),
1
,
m_pFile
)
!=
1
)
return
eDAQ_READ_ERROR
;
if
(
chId
>=
m_NumEntries
||
chId
<
0
)
{
...
...
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