LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

WHICH LABVIEW FORMAT IS THIS FILE ?!

Hi all,

I receive a *.lab file from labview/NI - I'd like to know which format (hex,..) it is,
so I can build an automatic routine to translate it back to an ASCII format before doing
additionnal analysis.

- I attached an example of a *.lab file.
- The *.txt file is the corresponding data in ASCII.
The thing is, I can do the translation manually, using a specific
labview-based application (*.lab file reader) --> I load the *.lab file,
and export it to *.txt.

>> Problem
: It is not an open source software, so I cant see which VIs the application is
using for the translation to ASCII.

Without your help, I have no way to build my application further...thanks !





0 Kudos
Message 1 of 3
(2,794 Views)
The second column is easy, just take the binary data starting with byte position 44 and cast it as big endian SGL array. (You can just read the rest of the file, or read the actual number of points (=1129) at position 42 as U16)
 
The first colum is defined by an offset and increment. The two are located at position 24 (lenght 16) as big-endian DBL.
 
Attached is a quick try to read it, but since this is a proprietary format the offset might change or be defined by earlier bits. There is no way to be sure. You should contact the creator of the lab reader software for details on the file format.

Message Edited by altenbach on 10-09-2005 12:04 AM

0 Kudos
Message 2 of 3
(2,782 Views)
Got it  - Really Great
Thanks a lot for your help !

NoSkills




0 Kudos
Message 3 of 3
(2,762 Views)