02-02-2009 09:13 AM
I just can't seem to figure out how to graph current time and date on the x axis. I'll be getting data from a serial port and parsing out to an array for logging. Attached you will see a simple example in Labview 8. I tried the property nodes but could not get the year past 1904. Any help would be appreciated. Thanks Much.
Solved! Go to Solution.
02-02-2009 09:25 AM
It would have been nice if you had attached the code with the property nodes to see what you were doing wrong.
There's a very old example that explains what you should be doing. Look up Real-Time Chart.
02-02-2009 09:41 AM
Hi Dennis,
Attached is how I was doing the property node. Notice time is correct, but I just can't get the date and year. Thanks.
02-02-2009 11:14 AM
02-02-2009 12:22 PM
"build Waveform function "
I tried that too, it only works with a single plot, not four, as in my example. I have a feeling that Labview simply can't do what I want it to do: plot four sets of data on one chart with real date and time. I've been working on this for almost two days now and I see no solution in site.
02-02-2009 01:21 PM
Sure it can do it. You need to build the correct data type for the chart, of course.
Try this.
02-02-2009 02:00 PM
04-06-2010 09:36 AM
Hello Again,
I realize this is an old thread, but just recently I found that the technique we settled on to display time/date is causing a memory leak in my Labview application. It just reared it's ugly head recently, and it takes weeks to show up. I discovered with the help of Labview's VI analyzer that the build arrays were the culprit. If I take them out of our example, then I will not be able to build the waveform. So I am now, still looking for a solution to the original problem of getting the DATE into my graph.
To see the memory leak manifest itself, change the time of the loop to 1 millisecond or look at my attached examples.
04-06-2010 09:39 AM
attached is a LV version 8.0
04-06-2010 09:43 AM