06-27-2011 01:52 PM
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
06-28-2011 10:42 AM
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?
06-28-2011 10:58 AM
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.
06-29-2011 10:10 AM
Thanks, Scott! I will try binary tomorrow. -out today
06-29-2011 10:17 AM
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!