LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

drawing a graph or chart......

Hello,

I'm trying to draw a graph or chart, every time I push the ok button he has to insert a value(integer) into a graph or chart. If i use the graph or chart or xy graph he don't remembers the line...

Example -->

          123 --> ok button enabled --> insert into graph
          456 --> ok buton enabled --> insert into graph (123 still must be indicated)

Who can help me (sorry for my poor english)...?




0 Kudos
Message 1 of 2
(2,498 Views)
Graphs don't have a history, while a chart does, so the objects are functioning as designed. In order to do what you want you essentially have to append the data yourself in your code and write the new array to the graph. See attached VI (LabVIEW 8.20) for a simple example for demonstration.
0 Kudos
Message 2 of 2
(2,455 Views)