11-09-2009 02:14 PM
Solved! Go to Solution.
11-10-2009 11:49 AM
11-10-2009 12:27 PM
Hi
Thanks for the prompt reply
I am new to Labview
Do you know if there is such VI designed by somone that I cna use.
Coz when I tried there were some complecated thing like converting the text into values and then only I can compress the data
Thanks once again
Bhavin
shah
11-10-2009 01:58 PM
I was thinking something as simple as this:
Just read the lvm, decimate the array to purge unneccesary samples and then write it back to another text file.
11-10-2009 09:09 PM
Thanks a lot, problem solved
Bhavin Shah
02-17-2011 07:17 AM
If I am reading the description for this this will only help if you are decimating in one dimension. I have and LVM that (again the rate function was not corrected) I have 1.6k points for 15 seconds for 8 segments with 3 columns of data. I would like to compress it to 20 points per second. Any suggestions?
Thanks
02-18-2011 08:49 AM
You can do the same thing for each column of the LVM file, assuming that sort of decimation is OK. That will depend on your data and what you need from it. If you can just throw away data, you may want to consider averaging, instead. Also, the above example loses any timestamp information. If you want to retain this (assuming it exists), convert the DDT to an array of waveforms instead of a single Y array (or 2D array), decimate the Y components of the waveforms, rewrite the Y back into the original waveform, then save to LVM. This is pretty easy to do with a FOR loop modification to the above code.