LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Write data read from DAQ to Excel file

Hi,

I'm trying to save the data read from NI9205 DAQ to Excel file. I read the Excelreportdemo but the data it read is a specific dimension data(10*10). I use the DAQmxRegisterEveryNsamplesEvent() function,when there is 1 sample it will call the EveryNCallback. I totally have 8 channels the sample rate is 8 sample/s and I read 1 sample/channel with the buffer size 8. So, I assume I 'll get 8 data one from each channel every second.(Is that right?) 

I want to run my program continuously and record the data to Excel file every second. (For example A2:H2 the first second,A3:H3 the second second,A4:H4 the third second...... ) How can I do that? I'm try to use ExcelRpt_WriteData() but I have to put the dimension in. Is there a way to write the data continuously?

 

Thanks,

Yifan 

  

0 Kudos
Message 1 of 1
(2,030 Views)