Attempt to read large TDMS file causes lack of memory error

This is a discussion on Attempt to read large TDMS file causes lack of memory error within the labview forums in Programming Languages category; Hi, I am trying to read a TDMS file using the Read from Measurement File express VI and am getting a message that there is not enough memory to complete the operation.  My file is 263MB and has approximately 10M samples of 4 channels.  How can I open these TDMS files to extract the data using Labview Suite 8.6? Thanks,Mike V....

Go Back   Application Development Forum > Programming Languages > labview

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-14-2008, 02:10 PM
ControlAutomation
Guest
 
Default Attempt to read large TDMS file causes lack of memory error

Hi, I am trying to read a TDMS file using the Read from Measurement File express VI and am getting a message that there is not enough memory to complete the operation.  My file is 263MB and has approximately 10M samples of 4 channels.  How can I open these TDMS files to extract the data using Labview Suite 8.6? Thanks,Mike V.
Reply With Quote
  #2  
Old 08-15-2008, 03:40 PM
Bob_H.
Guest
 
Default Re: Attempt to read large TDMS file causes lack of memory error

Hello Mike,

 

Thank you for contacting National Instruments!  I have seen issues
similar to this a few times in the past.  Usually the best way to get
around memory issues with TDMS files would be to try reading in your TDMS files
in segments.  There should be a section in the Read from Measurement File
express VI that you can specify how many samples you wish to pull from the TDMS
file. 

 

Another option would be to bypass the Read from Measurement File and create
a program that is similar to what is seen in <a href="http://digital.ni.com/public.nsf/allkb/D670CABD5548BBBC8625748A00529190?OpenDocument" target="_blank">this
knowledgebase article</a>.&nbsp; You can place the specific TDMS file VIs and
break it up using the count and offset to avoid the out of memory error.&nbsp;
That knowledgebase article is not specific to the memory error but shows that
when implementing a solution to open the TDMS files in different subsets you
can sometimes run into an error.&nbsp;

&nbsp;

Please try some of these methods and verify they will work for your
solution.&nbsp; Reply to this post if you are still having issues when trying
to implement these solutions.&nbsp; At that time please include more specific
details about the error, such as the error number (if there is one) and exact
wording of the error description.&nbsp; With that information I will be able to
further determine the reason for the error.&nbsp; I hope this information
helps!&nbsp; Have a great weekend!!
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 10:13 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.