m-teng/scripts/buffer_reset.lua
2023-04-07 18:14:15 +02:00

11 lines
308 B
Lua

-- reset both buffers and set to append mode
smua.nvbuffer1.clear()
smua.nvbuffer1.fillmode = smua.FILL_ONCE
smua.nvbuffer1.appendmode = 1
smua.nvbuffer1.collecttimestamps = 1
smua.nvbuffer2.clear()
smua.nvbuffer2.fillmode = smua.FILL_ONCE
smua.nvbuffer2.appendmode = 1
smua.nvbuffer2.collecttimestamps = 1