10-21-2016 07:16 PM
I am using USB 6281 board at 500k sampling rate reading 50k data samples. I am taking data in continuous mode for about 6 hours. I am saving the data in span of TDMS file (creating new file in every 1 minute).
How can I load this huge data into Matlab (accurately without any data loss) for further processing. There are many codes (Matlab codes) available on Mathworks and NI forums but every code has some bad reviews. Can you please tell me the latest and most optimized way of loading all my data into Matlab?
Thank you
Amartansh
10-21-2016 10:40 PM
This is a LabVIEW, not a MatLab, Forum. Come here with your LabVIEW questions, preferably with your LabVIEW code (attach your VIs, do not attach pictures of your VIs), and ask your questions.
If you want someone to do your work for you, hire a MatLab (or a LabVIEW) expert. If you want to "do it yourself", then try to "do it yourself" and come back to us after you've made an effort.
Bob Schor
10-22-2016 01:45 AM
Thank you for your advice sir.
I have already my code running and working perfectly by my self. Here are my vi's attached.
I am asking about the matlab because labview itself provides support for converting tdms into mat file. I have tried it by myself and i have also got results.
All I was asking is that since there are too many methods available for converting tdms into mat file, which one I should choose. My total files size after 1 hour is around 15 Gb and hence I want to be sure that there is no data loss in conversion.
So
My labview code is already working and I am sorry for not providing vi's and aorry for bothering you.
But see earlier NI forums and you can find many similar threads on such topics.
10-22-2016 08:30 AM
Thank you for clarifying your question. It would have helped me understand the question a lot better if the title and the substance of the original post made it clear that the question was how to translate a TDMS file produced by LabVIEW into a .mat file suitable for MatLab. That would have made it clear that the question was not about either LabVIEW or MatLab, but about file formats and conversions (and, perhaps, someone has written the definitive and fast translator in C++ or Visual Basic).
Bob Schor