LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing arrays to text data with continious time stamp

Hi Friends,

I have the following problem.

I want to create a text file looking like this:

12,30,10, 10:30:00     12.05.2007
12,31,10, 10:30:00,1  12.05.2007
12,32,10, 10:30:00,2  12.05.2007
12,33,10, 10:30:00,3  12.05.2007
12,34,10, 10:30:00,4  12.05.2007
12,35,10, 10:30:00,5  12.05.2007
12,36,11, 10:30:00,6  12.05.2007
12,37,12, 10:30:00,7  12.05.2007
12,38,13, 10:30:00,8  12.05.2007
12,38,16, 10:30:00,9  12.05.2007
12,39,18, 10:30:01,0  12.05.2007
12,39,18, 10:30:01,1  12.05.2007
12,39,18, 10:30:01,2  12.05.2007
.....
.....
....
the first 3 values are read from a file ,recorded as array and than plotted in chart.
 
the beginning time (e.g 10:30:00  12.05.2007) is also read from a file and set as beginning of the chart with a property node. The problem is here , after I set the beginning time to the Chart I have nothing to do with it for the rest values, since samples/sec is also sent to chart.

So how can I write the a txt file including the time stamp with ms incrementations?

Thanks alot for your responces.
john

0 Kudos
Message 1 of 2
(2,469 Views)
Hi John.
I would use a Time Stamp and "Format Into String" with e.g. %<%.1X>T.
Syntax details are in the LabVIEW Help - Search for "Format Specifier Examples".

Regards, Guenter
0 Kudos
Message 2 of 2
(2,454 Views)