Hello,
I am trying to aquire data straight into excel using active X. I found a sample code below that will do exactly what I want. It generates random data and writes it to excel on demand by user selecting a button. The data it writes now is just random data. I added a DAQ with 6 channels that will aquire one sample on demand which is what I want, and I would like to write this data into excel instead of the random data. I tried replacing the random data by the DAQ using a conversion from DDT, but then the loop indexing does not work, and it would not let me disable indexing. I am sure this is a simple solution and I would like you help.
Cheers,
Alloush