Hi HFZ:
' the x-scale changes to a great value (most the buttom graph)'
You are inserting one value into the upper chart, whereas you are inserting the whole upper chart into the lower chart.
If you start with clear charts, the first pass works as you spect. But the second pass will insert a random value into the upper chart and two into the lower one. The third one will insert one into the upper and 3 into the lower. And so on. So, when you scroll the lower graph, you don't get what you spected.
If you start the VI without clearing charts, the fist pass will insert all the upper chart...
I think you will solve your first problem deleting History property, and wiring "strip chart"'s input to the same input as Waveform chart.
Note that "Chart History Length" sets the maximum number of elements you will be able to review.
If you want to see the last 201 values (from 0 to 200), just set Chart History Length to 201. Then you will see max 201 values.
As charts keep track of the values you send to them, they save the value and the index is increment by one.
If you want to see 0-200 all the time you need to replace your Chart with a Graph. But you will have to change your VI a little bit.
Try to find some examples about Charts and Graphs (Help -> Find Examples); when you understand how they both work, you will solve all your problems
😉Hope it helps,
Aitortxo.