12-01-2015 10:20 AM
Hello forum members,
Does anyone has an idea on how to convert from LVM file to TDMS?
I will really appreciate your help on this
thanks again
SergeArmz
Solved! Go to Solution.
12-01-2015 10:24 AM
12-01-2015 10:27 AM
I think that is going to depend on how your LVM file is formatted. The writing to TDMS is quite straight forward and just use the TDMS Write function giving it the proper data, channel and group names.
Reading the LVM shouldn't be hard, just understanding the pieces. I think LVM is just a text file with some header information, then tab delimited data. Read all the data, turn it into arrays, then write to TDMS.
http://www.ni.com/tutorial/4139/en/
Post an example LVM file and code if you get stuck.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
12-01-2015 10:27 AM
Hello GerdW,
Thank you for your reply, do you have any sample on how to do that?
Serge Armz
12-01-2015 10:56 AM - edited 12-01-2015 10:58 AM
@SergeArmz wrote:
Thank you for your reply, do you have any sample on how to do that?
I asked you first You're not giving us much information, so any answer we give you is probably going to be incomplete or may not work in your situation. For best results, give us all of the information you can.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
12-01-2015 11:15 AM
Yes, you are right Hooovahh,
I'm attaching a sample fLVM file, I use to acquire 1 second at 48KS/sec, so basically my file contains 48,000 points, what I'd like to do is to convert it to TDMS, but i do not really have an idea on how to do that
Thanks for your inputs
SergeArmz
12-01-2015 12:18 PM - edited 12-01-2015 12:19 PM
As much as I hate express VIs, it sure made quick work of what you wanted.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
12-01-2015 02:21 PM
This really works, thanks Hooovahh