LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Report.vi gives no timestamp for acquired data

I am using LabVIEW 8.6 with the report generation toolkit and Report.vi (express vi). If I wire a simulated signal (again express vi) and generate a report (I'm using excel reports, but it's the same for an html), it gives a table with the time and value as expected. However, when I wire an a signal acquired using the DAQ Assistant vi, the time column is filled with the value 3349098000. Any thoughts as to why this is happening and how I can get the timestamp to work properly? Unfortunately I'm limited to express VI's since I'm using this as an educational tool with students who don't know LV. Thanks.

 

John

0 Kudos
Message 1 of 4
(2,892 Views)
Hello John,

The reason why there's no timestamp is because the dynamic data from DAQ Assistant has no knowledge of time. You would need to manually set the attributes to the data by using Set Dynamic Data Attributes Express VI. See the figure below

Andy Chang
National Instruments
Message 2 of 4
(2,864 Views)

Andy,

 

That looks great and gives me an idea of what's wrong. Unfortunately I don't think that VI exists in 8.6, any ideas (using express vi's or not)? Thanks!

 

John

0 Kudos
Message 3 of 4
(2,853 Views)

Hello John,

 

Then what you would need to do is to convert the dynamic data into Single Waveform, get the waveform attributes, then feed in the data in to excel.

 dynamic data excel 2.PNG

Andy Chang
National Instruments
0 Kudos
Message 4 of 4
(2,822 Views)