Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAq_Acquisition

am attaching a vi which is developed using labview 6.1 . I am using a DAQ acquisition program .

 

when we write to file using this i should get the format as such

 

date            time                s1      s2    s3    s4 . . . . . 

 

24-1-03       04-05-32.001

......

......

 

 

but am not getting the correct format. Can you help me please regarding this . .

 

 

0 Kudos
Message 1 of 5
(3,268 Views)

This is probably because you have a 2D array going into the Array to Spreadsheet String.  Each row in the array is a new line in the spreadsheet string.  You should put this code into a FOR loop so that each row can get then same date/time and the start.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(3,262 Views)

Thanks for your suggestion . Will come back to you  regarding this 🙂

0 Kudos
Message 3 of 5
(3,235 Views)

Hi am attaching the source file .

i am trying to make the write to file format as like this

date                   time                   s1        s2      s3      s4        s5..

 

30-1-2013           10:15:30.001 

 

 

I am using labview 6.1 version , i am not sure whether i can do it with this version .

Can it is achievable using this version .? 

can anyone help me out of these 

0 Kudos
Message 4 of 5
(3,206 Views)

If you want to write each line with a timestamp, try using Export Waveforms to Spreadsheet File. Of course, I don't see any place in your program where you are even attempting to get a timestamp. It does not appear this DAQ software does that for you like NI's does. So, that would be your first requirement. After that, you can try the waveform write. If you want to stick with the Write to Spreadsheet, you would have to save the data as a string array and modify the Write to Spreadsheet to handle string data. In 6.1, you had to make the edits yourself per the instructions on the block diagram.

0 Kudos
Message 5 of 5
(3,198 Views)