LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting time on X axis

Hello All,
This may be a simple question, but I have not been able to solve it yet. I have a graph and I collect data from a counter, integrate it for x seconds and repeat after y seconds. So I would like to plot the counts aganist time. But the time axis should be with an interval of (x+y) seconds. So there would be one point at time = 0, the next point on the chart would be at time = x+y, the next point at 2*(x+y) and so on. The actual data acq. programme works well, but the plotting is not as wanted yet. I have added a very simple code. Can anyone point out what I am doing worng? Thanks.

Karthik
0 Kudos
Message 1 of 3
(2,693 Views)
Hi!
The easiest thing you can do is, from Front Panel, right click the chart, enable "Ignore Time Stamps". In this way, the starting point of the X axis will be 0.00. Now, it will be easier to work with scales and format axis.
N.B. The solution is good if you don't mind the graph to show you the real time or the absolute time (I mean date and time)

(This is my most recent discovery about formatting graph chart...Without this, I always feared to modify X scale...!)
0 Kudos
Message 2 of 3
(2,693 Views)
I edited your vi a little. See if this help get you going in the right direction.
Message 3 of 3
(2,693 Views)