LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display the time stamp in a data log table

Solved!
Go to solution

Hello,

     I want to display data during the data acquisition process. How do I  add the time stamp as one of the column in the 'Result Table' located at bottom left of the example code?

 

Thanks,

 

Ryan

0 Kudos
Message 1 of 9
(5,504 Views)

Try this

 

You clean it up

0 Kudos
Message 2 of 9
(5,498 Views)

Try this again

 

You clean it up

0 Kudos
Message 3 of 9
(5,497 Views)

 I inserted the portion you added to my program and it worked but not exactly the way I want. It added the time and date when I start the data acquision. But I want the time stamp to be shown on every single row. Please see attached image.Thanks.

 

0 Kudos
Message 4 of 9
(5,455 Views)

If you right click on the express build table , you will see that there is an option to include time data. This will write time data for each signal. You can hide the etra columns or modify the express VI to only write a single time data column. Right clock on the express VI and select 'Open Front Panel' to convert it to a regular VI that you can edit.

 

Skipping the express VI altogether is another option. A table is nothing more than a 2D string array.

Message 6 of 9
(5,443 Views)

Dennis,

 

      Could you give a sample?

 

Thanks,

 

Ryan

0 Kudos
Message 7 of 9
(5,433 Views)
Solution
Accepted by topic author RyanWu
Here's an example of using the regular table instead of the express. You would have to convert your dynamic data to a scalar with the Convert From Dynamic Data function.
Message 8 of 9
(5,424 Views)

Thank you Dennis and dksys2000@yahoo.com.

It worked now.

 

Ryan

0 Kudos
Message 9 of 9
(5,415 Views)