09-13-2010 11:47 AM
Is that possible to convert multiple TDMS files (let say 100 TDMS file -- Each 40 Megabyte) to Multiple ASCII file format (like .csv). I mean is this operation posible.
100 TDMS files --> Converter --> 100 .csv files
09-13-2010 11:54 AM
I would say yes. Do you have reason to believe otherwise/
Ben
09-13-2010 11:58 AM
Ben,
Thanks. Could you please help me out, how is this possible. I have downloaded a converter from NI website (TDMS to ASCII convertor.vi (44.1 K) LabVIEW 8.2) but this converts a single TDMS file to ASCII (.csv).
Is their a converter exist for multiple TDMS file conversion.
Thanks
09-13-2010 12:02 PM
@ars_xx wrote:
Ben,
Thanks. Could you please help me out, how is this possible. I have downloaded a converter from NI website (TDMS to ASCII convertor.vi (44.1 K) LabVIEW 8.2) but this converts a single TDMS file to ASCII (.csv).
Is their a converter exist for multiple TDMS file conversion.
Thanks
I am here to help out others and will get fired if I write code to spec.
You will have to write a small VI that that accepts/finds the files to be converted and then use For Loop to iterate through each of the TDMS files converting one at a time.
Ben
09-13-2010 12:07 PM
Ben: Thanks, That would be helpful: Abhay
09-13-2010 12:32 PM
If you have trouble with the development, post back with IMAGES OF YOUR CODE along with questions. Most of the regular contributors to the forum will be abel to to advise.
Ben
09-15-2010 09:48 AM
Ben,
I tried converting single TDMS file to ASCII (.csv), the converter (TDMS to ASCII convertor.vi) works fine for intial two files after that it started spitting out an error "Labview error: Memory Full". I am not sure what is that? Is that something to do with the Labview or my computer. I checked memory of my computer, I still have 20 GB of free space on my hard disc. I dont know if this is a problem of RAM (I have 1 GB of RAM). I even restarted my computer and ran again with the same file which I was able to suceesfully convert to .csv, it did not work and gave me the same error.
I am still on a single TDMS file conversion mode, I have not even started with the multiple file conversion. As I have mentioned before Size of the TDMS file is approax. 35 - 45 Megabyte.
Thanks for your help.
09-15-2010 09:54 AM
Lacking images of your code, I can only guess at what you have on your screen that is causing issues.
So please post images of the code or even better, the code itself.
Ben
10-26-2010 04:58 PM
You have to write TDMS data to ASCII files in blocks, rather than all at once. Use the "Append Data" option in a loop and close the file in each iteration. It will quickly fill your operating system available memory (not hard drive storage space, but ram + virtual memory) if you try to do a large file all at once.
-Hunter