05-10-2016 07:26 AM
I use the labview to generate a larger tdms file. It contains 1 group and 12 channels. The tdms file is about 24GB.
So when I use the diadem to load olny 1 channel of the tdms file, the diadem just become no-responding.
Why? Are there some ways to solve the problem?
05-10-2016 10:21 AM
Hello tww,
What version of DIAdem are you using? The 2015 64-bit version has proven to be faster/better at loading large data files, have you tried that version?
DIAdem may show "Not responding" in the task manager when loading large files, but have you given it some time to load the data after it has shown the "Not responding" message. I know that I have seen this message in the task manager before, but DIAdem will eventually load the file and respond.
If you can, please try running DIAdem 2015 64bit on a PC with 8 GB of memory (or more) to see if that creates a different behavior, and ignore the "Not Responding" message for a few minutes while DIAdem tries to lead the file.
Otmar
05-10-2016 10:54 AM - last edited on 07-15-2024 11:39 AM by Content Cleaner
Hi tww,
If you have the ability to edit the LabVIEW VI that acquires the 24 GB TDMS file, then I suggest adding to it code that attaches the following 4 properties to each channel:
Minimum
Maximum
NoValueKey
Monotony
Here is a white paper that talks about the benefits:
Brad Turpin
DIAdem Product Support Engineer
National Instruments
05-11-2016 08:43 AM
Hi, Otmar.
I used the 2011 32-bite version. I have not tried the 2015 vrrsion.
I opened the tdms on the work-PC with 32GB memory. After about 20 mintues, it stil show the "Not Responding".
Maybe 2015 64-bite version will work. I will have a try.
Thanks for your suggestion!
05-11-2016 08:50 AM
Hi, Brad Turpin.
I will try to set these 4 properties. Thank you for suggestion!
05-11-2016 01:12 PM - edited 05-11-2016 01:15 PM
If it is loading that slow with this small number of channels it potentially because the file is fragmented in a lot of small chunks.
It is possible to defragment the file using a LabVIEW TMDS Vi.
Hopefully that helps. Adding the properties like Brad said will speed up additionally.
Since DIAdem 2012 it can also be done in DIAdem by running
TdmsFileDefrag("C:\temp\abc.tdms")
05-11-2016 02:54 PM
Hello tww,
The 32-bit version of DIAdem is only able to access 2 GB of RAM, even if your machine has a lot more memory. That's a 32-bit application restriction (32-bit addressable memory space) that was lifted with the 64-bit version of DIAdem 2015. THat' plus the recommendations from Andreas and Brad should help load the file a lot faster.
You can install an evaluation version of DIAdem 2015 64-bit in parallel to your existing DIAdem 2011 installation.
Let us know how this is working out for you,
Otmar
05-12-2016 12:09 AM
Hi,Andreask.
The tdms index file is about 11KB.So the file is fragmented like you said.
But when I run the code, it returned "False", which means that the tdms file did not be defragmented successfully.
dim a a=TdmsFileDefrag("G:\2016年05月06日10时51分01秒.tdms") call msgboxdisp(a)