离线模拟使用【动态绘图】元件绘制30w个点渲染问题
请大佬们指教,如果不加延时渲染会大量绘制不出来//宏指令
macro_command main()
unsigned int row = 0, column = 0, addr = 0
short point
short drawType=4, xy={0, 0},color=6
SetDataEx(color, "Local HMI", EM0, 5003, 1)
for column = 1 to 450
for row = 1 to 700
xy = row
xy = column
SetDataEx(xy, "Local HMI", EM0, 5005, 2)
SetDataEx(drawType, "Local HMI", EM0, 5000, 1)
DELAY(50)
next
next
end macro_command 使用JS元件绘制
页:
[1]