07-31-2008 10:04 PM
07-31-2008 10:16 PM
Your question is lacking a lot of detail. What kind of VI do you have right now and how is it not doing what you want? Your attached text file already shows the time in it.
Perhaps you want the Get Date/Time String VI on the timing palette and append the time string to the data you write out to your text file?
07-31-2008 10:22 PM
08-01-2008 08:50 AM
You are not acquiring the time anywhere so you don't have that information to Use on of the date/time functions to get the time in whatever format you want and generate this with each iteration of the loop. Pass this out of the loop so that you have an array of time data (i.e. enable auto-indexing). Convert this array to a string array if the data is not already a string. Convert the Y data to a string array. Combine thes two arrays into a 2D array and wire this to the Write to Spreadsheet File set for string input.