LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Corrupt DataLog file?

Long time someone post something regarding the DataLog files.
You know, File I/O\ Advanced File Functions\ DataLog 🙂

Is it because it's "old skool" and there is something better now??

 

Anyway, allow me to ask this question.

I have several DataLog files, all of them I can read with the existing EXE file and LV development code except one Smiley Surprised

I always get the error code 71 when reading that specific file.

Since all files are made by one and the same LV EXE file I find that very strange.

 

I then read several files using note pad to get an idea about what's inside.

All files I can read starts with: DTLG €    #  !   $ @0ÿÿÿÿ

The one I can't read has the same pattern from character 146 onward.

I have no idea at all where those 145 characters came from ?!!?

"Ç  Started-20140508.dat C:\PROGRA~1\BEKAER~1\TIREIM~1\DataBase\STARTE~1.DAT    6   C:\Users\WU71AD~1.SHE\AppData\Local\Temp\STARTE~1.DAT ‘Å

The first readable characters are the name of the file, the following path's, no idea!

 

After the four ÿ characters I see the correct definitions of the cluster I use in all files, so that is rather good, I suppose.

 

Easy solution I tried, delete the 145 erroneous characters but then I get error 42 :  LabVIEW:  Generic error. when reading the new file.

 

Anyone an idea how to "uncorrput" this file correctly ?

 

All happens in LV 8.6

 

Thanks for reading

Even more thanks for a solution!

Best regards

Alain

0 Kudos
Message 1 of 1
(2,596 Views)