07-19-2011 09:21 AM
I am trying to plot hourly data. However I am unable to set the x axis to display the time the data point is sent to the chart. I have attempted to use property nodes but I'm not familiar with using this technique. See vi for details.
Solved! Go to Solution.
07-19-2011 09:26 AM - edited 07-19-2011 09:27 AM
Right click the chart, select properties and then change the time to relative or absolute. Use absolute for "clock" time.
EDIT: It's on the Display Format tab.
07-19-2011 11:12 AM
NIquist,
That doesn't seem to work. The "clock" time is erroneous, instead of displaying the current date and time it displays Dec. 31 at 19:00 as the start time. I attempted to adjust the x axis manually but that didn't work either. Were does it take the time from...the PC or the device?
07-19-2011 11:19 AM
You need to set the offset of the x-axis with today's date and time.
07-19-2011 11:40 AM
07-19-2011 11:51 AM - edited 07-19-2011 11:52 AM
Thanks for the example I will give that a try.
07-19-2011 12:10 PM
@massaNI wrote:
try to use property node like the example!
That example does nothing to set the X axis to the current time.
Look at the shipping examples. There is one called Real-Time Chart.
07-21-2011 01:29 PM
Dennis I looked at the example but I am unable to make it work in my application. Is there another way?
07-21-2011 02:17 PM
Not unless you show how you modified your application.
07-21-2011 04:28 PM
OK, I will not be near the PC until Monday...I'll upload the VI then.
Thanks