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

11 lines
278 B
Lua

-- reset smua
smua.reset()
smua.measure.autorangev = smua.AUTORANGE_ON
smua.measure.autozero = smua.AUTOZERO_ONCE
-- set output to 0A DC
smua.source.output = smua.OUTPUT_OFF
smua.source.func = smua.OUTPUT_DCAMPS
smua.source.leveli = smua.OUTPUT_OFF
-- smua.measure.rangev = 20