annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Read LabVIEW Measurement File gives Errors - a BUG

Dear NI tech support
 
I have found an error in the Read LabVIEW Measurement File. As I try to read a normal data file created by the Write LabVIEW Measurement File, I received the error 100. As I investigated the issue, the problem is in the ex_GetHeaderFromChunk.vi. Sometimes, for an empty input chunk, it is unable to cut the header correctly, and the next data reading would then return an error. The problem was found in 3 out of 15 data files (all very large).
 
I have managed to find a temporary solution by changing the chunk size from 65000 to a much higher number (+1...N).
 
Regard
Albert
0 Kudos
Messaggio 1 di 7
3.615Visualizzazioni

Hi Albert,

Thank you for pointing this out! What version of LabVIEW are you using? Would it be possible for you to post the code and files (one that it works with, one that it doesn't) to our FTP site (and post what folder you put it in) so that we can try to reproduce the error? Thank you again!

Stephanie

Messaggio 2 di 7
3.593Visualizzazioni

Dear Stephanie,

Upon your request, I am uploading an example onto the ftp site. The file name is dataX7.zip.

It includes the data file (the smallest of the ones that did not work), the LV program to run, and a text file with some old comments.

The largest data file I have is 1.6GB. It took me several hours to find the chunk size that would allow me to process the file successfully.

LV is v7.1.

Regards

Albert

0 Kudos
Messaggio 3 di 7
3.572Visualizzazioni
I downloaded your code and ran it and didn't get Error 100. Can you give me some information as to where you are getting the error (run Highlight Execution mode to see)? Did you have the vi and the lvm file in the same folder when you ran it? Thanks!
0 Kudos
Messaggio 4 di 7
3.548Visualizzazioni
What version of LabView did you use to receive no errors? I used 7.1. This error might have already been corrected in the current release. Please let me know in which version was this error corrected.
 
I did run the VI in the same directory, as well as from another directory. This makes no difference.
 
The error happened in LVM segment #28. Could you please let me know what other information you require.
 
By the way, you would not be able to run the debugging on these VIs, since they are re-enterant. Moreover, the FIND would not find many attributes (e.g. text "100") in these VIs (perhaps this is v.7.1 problem and has been corrected).
 
Kind regards
Albert
0 Kudos
Messaggio 5 di 7
3.533Visualizzazioni

Hi Albert,

I don't know what is different today but I got the error in both 7.1 and 8.2.1 (weird). I will be submitting this as a CAR to R&D to look into. I'm glad you at least have a workaround! Thanks for bringing this to our attention!

Stephanie

0 Kudos
Messaggio 6 di 7
3.497Visualizzazioni

I am always glad to help

Regards

Albert

0 Kudos
Messaggio 7 di 7
3.480Visualizzazioni