LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview binary file format, reading in matlab

Hi,
 
I have some binary files that I wrote in Labview containing data of type double.  I'm trying to load the data in Matlab but I am not having much success.  In Matlab I am using the fread command and specifying the type as double with the machine format as 'b' for big-endian.  But the values I get do not make any sense.  Does anyone know what format Labview saves the data in?  Is it big-endian?  Or something else?
 
Thanks,
Todd
0 Kudos
Message 1 of 2
(2,900 Views)
LabVIEW stores data in BIG endian format. This was done to maintain compatability between all of the different platforms that LabVIEW runs on. And of course is an inheritance of the original Macintosh LV versions. There is a shipping documents that presents all the data storage formats. Just do a search in the LabVIEW bookshelf.
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 2
(2,894 Views)