Discussion:
Reading measurement file correctly
(too old to reply)
Seessami
2008-08-12 07:10:05 UTC
Permalink
I have a problem about reading a file. The file contains measurement results of a highpassfilter. I have tried to read the file but the measurement is displayed incorrectly. I have attached the binary file and a jpeg of the filter.Thanks in advance!


highpassfilter.zip:
http://forums.ni.com/attachments/ni/170/348507/1/highpassfilter.zip
MikeS81
2008-08-12 07:10:06 UTC
Permalink
Hi Seessami,
which format has your file and how do you read it?
Mike
Seessami
2008-08-12 07:10:07 UTC
Permalink
Hi mike, I'm pretty sure it's a binary file. I have tried to read it as a binary file but it's not displayed correctly. My task is to update an application. The previous application has been made with visual basic i think, and i'm making a new version with LabVIEW. This new application has to read/write the measurement data in the same format as in the previous application.
MikeS81
2008-08-12 07:10:08 UTC
Permalink
Hi Seessami,
how do you read your data? Only to know it´s a binary file is not enough, you have to know the format of your file. How do you write the file?
Mike
Seessami
2008-08-12 08:10:05 UTC
Permalink
Hi Mike, I don't know how the current application reads/writes the data because I don't have the source code of the application. But I will find out the file format of the measurement..
muks
2008-08-12 07:40:07 UTC
Permalink
Hi seesami,                    What format is .cal? Have you used read to spread sheet function before?
Continue reading on narkive:
Loading...