LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

High Speed data collection throws error 4 (EOF reached) after 11 hours (1.5 GB file every hour)


@run321 wrote:

Hi Jeff,

and you think that this could be the cause of the "EndOfFile"-error? What is the difference to the first 11 hours before the error is thrown? 

Do you have suggestions what I can do to debug this problem? Timing is tough and the problem occours very seldom, so I do not know how I can get rid of this problem...

 

thanks for all

Matthias 


I believe getting the data to save optimized will help a lot.  however, from just one picture I can't really say what changes after several files.  Likely, there is some type of subtle bug in how the TDMS Ref is handled.  Honestly, I would have written a "Resource Module" variation of an Action Engine that encapsulated all the TDMS file operations for "RCVnInterpretCanData.lvproj" That would be the first step toward finding where the real bug is (and most likely avoiding the bug completely since, the AE will prevent anything else from operating on a stale file)

 

Methods are likely to be:

  • Open File
  • Close File
  • Get Current File Size
  • Write Data Cluster
  • Write Attribute
  • Launch / Show Viewer

"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 11
(468 Views)