LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading measurement file correctly

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!
0 Kudos
Message 1 of 17
(3,610 Views)
Hi Seessami,
which format has your file and how do you read it?
Mike
Message 2 of 17
(3,608 Views)
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.
0 Kudos
Message 3 of 17
(3,604 Views)

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

Message 4 of 17
(3,599 Views)
Hi seesami,
                   What format is .cal? Have you used read to spread sheet function before?
Message 5 of 17
(3,584 Views)
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..
0 Kudos
Message 6 of 17
(3,582 Views)

I finally found out the file format. It has also other information besides the actual measurement data. Now I need to read the file. How can I unbundle all the data from the file? All the headers separately and the data itself?

0 Kudos
Message 7 of 17
(3,519 Views)

Hi Seessami,

you can read your file with the Excel ActiveX functions. See this thread for some information about it.

 

Mike 

Message 8 of 17
(3,515 Views)
I can read the data now Smiley Happy
0 Kudos
Message 9 of 17
(3,490 Views)

Now I have a problem in writing the file. I have made a vi that reads the data and I've inserted the write data vi as a subvi. The data seem not to be written in the same way. So what could be the problem in my write binary file_oma.vi?

 

Thanks again!

0 Kudos
Message 10 of 17
(3,472 Views)