From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I set the x scale of a chart to 0 -24 hours?

I want a chart to display analog inputs over a 24 hour period with time on the x scale.
0 Kudos
Message 1 of 4
(2,540 Views)
Have you considered using an X-Y graph for your application? In several applications I use this approach when I show data-trending. The dis-advantage is that you keep extra data-copies in memory-vi's.
0 Kudos
Message 2 of 4
(2,540 Views)
In addition to other suggestions, I attach a link to a NI document on "Simulating XY Chart" and also a sample vi. I hope you find them useful.
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/51508c11a53e66ab8625685400696956?OpenDocument
0 Kudos
Message 3 of 4
(2,540 Views)
> I want a chart to display analog inputs over a 24 hour period with
> time on the x scale.
>

Popup on the X scale and choose the Formatting option, or popup on the
graph, pull-right on the X Scale menu item and choose Formatting.
Either way, when the dialog comes up, you can change the formatting to
show Relative time. Other options are to use Absolute Time formatting,
but you will need to set the X0 value to the start time of the
experiment so that the scale knows how to calculate the time values.

Greg McKaskle
0 Kudos
Message 4 of 4
(2,540 Views)