01-03-2013 11:30 PM
Hi all,
I am having trouble to extract strings from a tdms file to write them into a txt file.
The strings were written in tdms is a time stamp data recorded from a compact RIO.
I have put the string into a different group of the tdms, but when I use tdms read function with the group name I specified, an error message is always turn out.
Thanks for all the help.
Ps: I have attached a sample tdms file that I have got over here.
Regards,
Yifeng
Solved! Go to Solution.
01-03-2013 11:42 PM - edited 01-03-2013 11:43 PM
I tried your attached file and it seems everything goes file. I attached the screenshot of my VI here, is that what you want?
01-03-2013 11:51 PM
I have tried your solution, but it doesn't work for me. Can you upload your vi here i have a look?
It keeps saying error when i run it.
Thanks for the fast reply.
01-03-2013 11:53 PM
Which version of LabVIEW you are using? And what is the error number returned?
01-03-2013 11:55 PM
I am using labview 2012, and the error message is -2525.
01-03-2013 11:57 PM
For the node "TDMS Read", it has a terminal called "data type", you have to wire an array of string to it and for the output terminal "data", you also need to wire an array of string to it, so that you can read it out.
01-03-2013 11:59 PM
ok, oh, I got that now. I think that is the bit that i missed out.
Thanks for the help.
01-04-2013 12:03 AM
Hi,
Please have a look of previous same threads. You may got some solution for same issue....
http://forums.ni.com/t5/High-Speed-Digitizers/Error-2525-with-Read-From-Measurement-File/td-p/649804
http://forums.ni.com/t5/LabVIEW/Read-Time-Channel-from-TDMS-file-and-error-2525/td-p/665387
http://forums.ni.com/t5/LabVIEW/Timing-problem-in-tdms-read-when-replotting-data/td-p/1881317
TDMS Error List
http://zone.ni.com/reference/en-XX/help/371361H-01/lverror/storage_error_codes/
−2525 | TDMS file data could not be converted into the specified data type. |