5.- Clock1 "fast" create point. Clock2 "slow" draw point.
p9BB2_grafico_dinamico_archivos.aia (10.8 KB)
-
Clock1.TimeInterval: 400 ("fast") create random numbers (1...1000) and AppendToFile: valores.txt
-
Clock2.TimerInterval: 500 ("slow"), gets the numbers from the file and draws them on a dynamic graph.
-
As Clock2 is slower than Clock1, a buffer of numbers pending drawing is observed.
-
You can enable or disable Clocks to see the effect.
-
Use the procedure: updateGraph

