11-22-2007 01:35 PM
I made a file to convert TDM, then to write up the ascii file. At this
point,
this .vi can only handle one single TDM file. I want to put the loop this
.vi,
then to convert multiple number of TDM files into ascii with a serise of
names
such as T1.ascii, T2.ascii, and etc.
Thanks,
DK.
11-26-2007 06:19 PM
Hi DK,
Thank you for contacting National Instruments. I added to your VI to allow automated conversion of TDM to ASCII simply by selecting the directory where the TDM files are stored. I have attached a screenshot, but if you would like the VI, please let me know what version of LabVIEW you are using. Hope this helps.
11-26-2007 08:13 PM
11-27-2007 02:02 PM
08-19-2016 10:40 AM
Dear NI,
I'm using NI Labview 2015 SP 32bit trying to convert TDM to ASCII file. I downloaded and succesfully used TDM80.vi but I need a different output file: I need all the values to be in column. With this vi I obtain a matrix, I need a vector instead. How can I change the output? And how do I know the number of rows after conversion?
Thanks
08-22-2016 11:44 AM
Hi Francesca,
What does the data file that you are currently using look like? Could you attach it?
If you need to take a subset of the array coming out of the Read Data (Channel) Express VI. You can transpose, take subsets, and sizes of the array if you need to convert a smaller portion of the array.
I have included links to another converter, as well as the array functions list to give you some places to get started.
Array Functions
https://zone.ni.com/reference/en-XX/help/371361M-01/glang/array_functions/
TDMS to ASCII File Converter
https://decibel.ni.com/content/docs/DOC-9642
08-29-2016 09:03 AM
Dear Gryffindor,
I'm measuring tension values during time. After conversion TDM-ASCII, all the measured values are not a vector but a matrix. I wrote a Matlab function to manage them, even because with Matlab I can easily fit them. I used function "reshape" to get a vector from the matrix.
Thank you for your help