LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display time from data sampled from database or text file

I'm trying to develop a display for the past 24 hours of data sampled from our local database and .txt files.
 
I can plot the past 24 hours of data, although I'm having trouble displaying the time on the x-axis.
 
Here is a sample of the data:

07/10/2005 00:00:00, 795.215300, 367.514973

07/10/2005 00:00:01, 794.982470, 367.747776

07/10/2005 00:00:02, 794.516809, 367.980607

07/10/2005 00:00:03, 794.516809, 367.747776

07/10/2005 00:00:04, 794.516809, 367.747776

07/10/2005 00:00:05, 794.982470, 367.747776

07/10/2005 00:00:06, 794.516809, 367.747776

07/10/2005 00:00:07, 795.215300, 367.747776

07/10/2005 00:00:08, 795.215300, 367.747776

07/10/2005 00:00:09, 795.215300, 367.747776

07/10/2005 00:00:10, 795.215300, 367.747776

Is there a way to plot the value and it's corresponding time on an x-y graph?

0 Kudos
Message 1 of 3
(3,289 Views)
You can modify the Read From Spreadsheet VI to return strings. Once you have the date/tome string, it's pretty simple to convert to a time stamp. Then, the x axis of the XY graph needs to be set for absolute time.
0 Kudos
Message 2 of 3
(3,282 Views)
I tried something very similar to that before, but could never get it to work. Thanks for all of your help!!
0 Kudos
Message 3 of 3
(3,269 Views)