You are here:

C/how to read * .dat file generated by pci card which is already available iin physionet.org how to read in c program

Advertisement


Question
any one can help me doing my project. my doubt is how to read the *.dat files generated by ecg machine through pci card i mean that generated file is already availabe as ecg.dat. i have program with me but it is showing garbage values not giving graph..how can i read data frm that ecg.dat file any can can mail me please

Answer
It is not garbage.
It is binary data.

So, you have to find out the format in which the data is written. Usually, they will use some structures to dump data in these sort of files.

So, if you get to know those structures, then you can use the same to read data.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.