LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to plot trend of data in a measurement file to xy graph.

I created a data acquisition program that successful logs a timestamp and the process value into excel sheet. 

 

I would like to know if these values can be plotted in an xy graph for operator to view process value against the timestamp. I would also like to create a control like ' VIEW DATATREND' that the operator can click so that a message is displayed asking the operator to specify the time period of data he want to trend for example from 19/04/2012 8:10:06 to 20/04/2012 21:35:10 and the program will pick the process value corresponding to this times and plot them in an xy graph with the timestamp as the X axis. 

 

I will really appreciate any information on how to solve this.

 

 

0 Kudos
Message 1 of 2
(2,527 Views)

Hi Steve,

 

With regards to your question about how to plot a graph of the data, do you wish to view this in LabVIEW or in Excel? Both of which are possible but are achieved in different ways.

 

Your second question is also achievable and would probably be best done using property nodes to select the range of the plot, the following example shows how you can accomplish this although this does not have the time on the x-axis plotted as a timestamp. This would make a very good starting point that you can work from to achieve what you want:

 

https://decibel.ni.com/content/docs/DOC-11203

 

I hope that this helps.

 

Kind Regards

 

David B
Applications Engineer
National Instruments UK
0 Kudos
Message 2 of 2
(2,504 Views)