Hi!
My program consists of 9 different graphs for a total of 67 separate curves (un-evenly distributed among the 9 graphs).
Each of the 67 curves gets one new point added approximately once every second (+/- 250 ms or so).
The graph system I use mimics a chart, but with variable dx (due to fluctuating data reception rate).
I am looking for an easy way to store the x and y points as they come in, into separate files. By separate I mean 1 file for each graph window (so each file will contain data for several curves!), for a total of 9 files.
The way I started out seems a little tedious, so I want to double check it with people here before I do a full blown implementation *see attached picture for details!*.
Basically, what I do now is, evertime a new set of data is received and decoded, I take the last entry in the graph "array of clusters", extract the xy array from the cluster, then from the xy array, I can get the x and y values of each individual curve in that graph. by indexing this xy array for each curve, I get data I can write to a file..
I would prefer to write to excel files, with each curve in separate columns, like "curve 1 x" in column A, "curve 1 y" in column B, then maybe skip a column for readability and add the next curve.
Now, can I do a "to string conversion" of the xy array and just kick it straight to excel, or do I have to manually extract each curve xy-set and build and rebuild a string array of curve xy-sets before finally writing to excel, or?
---------------------------------------------------
Project Engineer
LabVIEW 2009
Run LabVIEW on WinXP and Vista system.
Used LabVIEW since May 2005
Certifications: CLD and CPI certified
Currently employed.