01-28-2009 01:28 PM
hello,
Im working on a data logging application for a fuel cell.
Id like to to grab data 30 seconds and then write it to an excel file.
I want each set of data to be in its own column.
the data should be about 10x1 although in the example its 2x1
After grabbing it and logging it to excel, i want to clear the array.
Then i want to start again.
this way i am not continusously writing ot the disk which would slow it down.
I would like each new set of data to get appended to the existing data in the format.
time 1 data1-1 data 2-1
time2 data1-2 data 2-2
time3 data1-3 data2-3
etc...
this should be simple
But I cant figure out how to make it append to the end of the array
I also tried "build array" along with "insert into array"
Im getting, for example, the format
time 1 data1-1 data 2-1 time2 data1-2 data 2-2
time3 data1-3 data2-3
here is my file
01-28-2009 09:08 PM
The only way I can think of to add new columns easily is to use the ActiveX interface to Excel to add the data. Check the examples that ship with LV.
Mike...