04-28-2012 10:26 AM
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.
04-30-2012 09:28 AM
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