Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous Data Aquisition to SS File

Recently we used the example from the Labview program "Continuous Data Acquisition to SS File.vi" and modified it a little and tried to keep all
necessary things in the program to meet our test requirement. Basically we have 8 channels to collect the voltages from the test materials. After a
test run, I realized that it only display the raw data for the channels (8 columns) but no corresponding time column to it. Can any one tell me how to add this time column. thanks
0 Kudos
Message 1 of 2
(2,855 Views)
I could not open your VI as I do not have version 6.1 installed. So here are some comments...

You can build a 1-D array of time steps by using a for loop, delta T (the inverse of the ACTUAL scan rate as indicated from the acquire VI), and the number of points (use the Array Size function on one of the data columns).

Now, since the DAQ VIs output in column major order, first transpose the DAQ record and then use the bulid array fuction to add the new row to the first position.

Transpose the new array back to column orientation and write to spreadsheet file.
0 Kudos
Message 2 of 2
(2,855 Views)