I'm measuring the height of the water and I want to show it on the graph. When the level falls below a certain value, I want the macro to assign an average value to the graph. In the graph, the y axis is level_b.
However, when the second condition is provided in this way, the whole graphic line disappears from the screen.
while(1)
level_a = (level - 457) * 0.6546
if(level < 473.0)
level_b = 100
else
level_b = level_a
endif
endwhile