请大佬们指教,如果不加延时渲染会大量绘制不出来
//宏指令
macro_command main()
unsigned int row = 0, column = 0, addr = 0
short point[10]
short drawType=4, xy[2]={0, 0},color=6
SetDataEx(color, "Local HMI", EM0, 5003, 1)
for column = 1 to 450
for row = 1 to 700
xy[0] = row
xy[1] = column
SetDataEx(xy[0], "Local HMI", EM0, 5005, 2)
SetDataEx(drawType, "Local HMI", EM0, 5000, 1)
DELAY(50)
next
next
end macro_command |