01-25-2013 05:27 AM
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 . .
01-25-2013 06:40 AM
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.
01-28-2013 01:10 AM
Thanks for your suggestion . Will come back to you regarding this 🙂
01-29-2013 11:09 PM
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
01-30-2013 10:20 AM
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.