LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to determine the datalog type for labVIEW data file

I have some data files created by LabVIEW 6.1 from a co-worker.  He would like to open these files and convert them to a .txt file format.  When I open the data file in notepad I was able to recognize some of the information and I've built a cluster to define the datalog type which is similar but not close enough because I continue to get error 71 (file datalog type conflict).  Is there a way to find the datalog type of data file?

 

THANKS!

 

alma

0 Kudos
Message 1 of 5
(3,118 Views)

Alma,

 

What version of LabVIEW are you using?  Does it still give you the error 71 when you read it as a binary file?  What happens when you try to use the Read Datalog.vi after Doing the Open/Create/Replace Datalog.vi?

Scott A
SSP Product Manager
National Instruments
0 Kudos
Message 2 of 5
(3,102 Views)

With a datalog file you have to know the exact format of the record type. "Close enough" doesn't count. Why don't you just ask the co-worker what the format is? Do you still have the source code of the program that wrote the file?

 

The other problem you're probably seeing is that the format of the way datalog files were saved changed along the way. You could also be dealing with variable-length records, which makes things even more interesting.

0 Kudos
Message 3 of 5
(3,096 Views)

Thanks, Scott!  I will try binary tomorrow. -out today

0 Kudos
Message 4 of 5
(3,076 Views)

Thanks!  ...and I understand about needing the exact datatype.  I was just hoping to crack the code. 🙂  Unfortunately, the program that created the file is an executable developed by an outside company and when we contact the company they informed us that the developer is no longer with them.  I just thought i would give it a shot.  THANKS, again!

0 Kudos
Message 5 of 5
(3,072 Views)