This commit is contained in:
Marc Planard 2024-08-19 22:47:42 +02:00
parent 7e2d7c4afb
commit 9d00337c09
2 changed files with 9 additions and 7 deletions

View file

@ -32,6 +32,8 @@ def Write():
config.set(laser, 'ip', str(gstt.lasersIPS[i]))
config.set(laser, 'type', str(gstt.lasertype[i]))
config.set(laser, 'dac_family', str(gstt.dacfamily[i]))
if gstt.dacfamily[i] == "extern_cmd":
config.set(laser, 'cmd', str(gstt.cmd[i]))
config.set(laser, 'kpps', str(gstt.kpps[i]))
config.set(laser, 'intens', str(gstt.intens[i]))
config.set(laser, 'red', str(gstt.red[i]))