LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

chart history

my problem is shown at the screenshot. an array which is filled in a while loop is written on the chart. i think the problem is that the chart changes the historyvalue.
i tryed to set the history value to 500 and initialized the array with zeros.
but it doesn't work.

the best result should be, that the chart will be filled from the left to the right side without showing the growing array (screenshot).
0 Kudos
Message 1 of 5
(2,978 Views)
To clear a chart, you wire an EMPTY array to the history property. The shipping example called How to Clear Charts & Graphs uses an Initialize Array with a dimesnion size set to zero. Annother way is to create an array constant. If you already have an array constant on your diagram, right click on the element selector and choose Data Operations>Empty Array.
0 Kudos
Message 2 of 5
(2,978 Views)
To clear a chart, you wire an EMPTY array to the history property. The shipping example called How to Clear Charts & Graphs uses an Initialize Array with a dimesnion size set to zero. Annother way is to create an array constant. If you already have an array constant on your diagram, right click on the element selector and choose Data Operations>Empty Array.
0 Kudos
Message 3 of 5
(2,978 Views)
your recommendation doesnt work.
i think the problem is in my programm. but i cant find them.
0 Kudos
Message 4 of 5
(2,978 Views)
If i understand right, what you want is, filling the chart with 500 single values?
But you wired a 2 dimensional array to your chart.
If you want this filling process use single values within a loop!!
0 Kudos
Message 5 of 5
(2,978 Views)