05-10-2012 01:17 PM
I am new to labVIEW hence a little help is appreciated:
I have a 100 txt files with two columns (tab separated) for X and Y value.
I need to average the Y values to generate one single txt file and generate X versus Y graph.
So how do I read the data from these text files? (without having to select each one of them individually) and how to average the data and create a XY graph from it?
Thanks in advance
Solved! Go to Solution.
05-10-2012 01:23 PM
There is a List Folder function in the File I/O palette that will return an array of filenames. Feed that array into a For Loop to open and read each file in turn. Place in a new file, build an array with it, process the data, or do whatever you want.
05-10-2012 11:46 PM
Thanks 🙂
I managed to get the average in one text file.....tab separated X and Y values. How should I plot a X vs Y waveform?
05-11-2012 12:15 AM
Use X-Y Graph.
You were able to get two arrays of X and Y points from text file right?
01-16-2013 08:36 AM
please post he vi that u did,
Thank you.