LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build XY Graph

Solved!
Go to solution

Hi everyone, i just want my XY Graph running smoothly for example if my graph x scale values reaches 20 then next 20 should come and previous 20 should discard.

plz see attached files

0 Kudos
Message 1 of 3
(1,011 Views)
Solution
Accepted by topic author Akbar7110

At every iteration, take the last 19 elements of your arrays, then concatenate the new values.

Alternatively, if you want to start over, check the array size and reset it when reaches the desired maximum.

Also, get rid of the Express vi and the Dynamic Data: simply bundle X and Y arrays together and wire the result cluster to the graph.

example.png

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 2 of 3
(998 Views)

Thank you very much

0 Kudos
Message 3 of 3
(990 Views)