Hello
I am trying to write the data from my data acquisition system to Excel
file. Somehow I am not able to come up with the structure for the
operation. My system gets communicates with the equipment and gets data
in a set of 60, ie. in 6 arrays (represented as double) and a total of
300 data points. That means my for loop goes through the acquisition
process for 5 times.
At the end of the collection of 300 readings, I want to write it to excel file in a column.
Then the user will be asked whether he/she wants to collect another set of 300 readings.
If yes, the next 300 readings will be written in the NEXT column.
There are a couple of nice ActiveX examples on Excel, so I should be
able to manage the Excel output part. But I am not able to figure out
how to manage the data before writing it to Excel. That is getting the
data out of the for loop which gets the 300 readings in 5 steps of 60
readings each. Right now, the 2nd set of 60 readings is overwriting the
previously collected 60 readings which is not helping.
😞
Thanks in advance.