LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make plot showing the last 600 seconds continously

Need to make a front panel where the last meassurments (one strain signal) during last 600 seconds are shown in a plot. I want the plot to draw from the right and then continously, but slowly move to the left. Have tried using the waveform graphs, but haven't got the hang of it...
 
0 Kudos
Message 1 of 7
(3,072 Views)
Simply use a waveform chart instead of a graph. The chart does exactly what you want.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 7
(3,067 Views)

OK, better...

But the chart shows points only at the left and right end even when using autoscale...

 

Input thrue a DAQ Assistant, Rate:100Hz, samples to read:20. In continous acqusition mode.

Message Edited by Johan.svensson on 07-03-2006 04:02 AM

0 Kudos
Message 3 of 7
(3,065 Views)
Basically the chart start on the left side and inserts new points on the right side. There is no way to change the direction.
If you really need to have it the other way round, you have to use the graph and build the array on your own. This means to insert new data at the start of the array (which results in load due to copy procedures) and check if the time range is above or below the time needed. Depending on this check you will then have to delete elements at the end of the array.
 

Message Edited by becktho on 07-03-2006 11:08 AM

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 4 of 7
(3,060 Views)

Sorry about the right to left confusion. The Chart performs as I want it to... just.

 

It is now configured: Chart history length 1000,  Update mode: strip chart. 

The only thing is that the scale (time) auto-adjusts during the first 1000 points. I want the scale to be fixed. Is it possible

0 Kudos
Message 5 of 7
(3,056 Views)
I'm not quite sure what you mean, but I think you want to deactivate the autoscale flag. Righclick the chart, select x-axis and deselect "autoscale x".
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 6 of 7
(3,053 Views)

Oh, yeah!

 

got it.. just as I want it to be.

Thanks!

0 Kudos
Message 7 of 7
(3,050 Views)