This commit is contained in:
gac-x11ma
2022-10-05 09:33:25 +02:00
parent bb9c188428
commit d6803e82ba
45 changed files with 1776 additions and 1333 deletions
+22
View File
@@ -0,0 +1,22 @@
I_TARGET_mA=0
V_TARGET_V=600
T_WAIT_ms=5000
EPSILON=0.1
if abs(fil.read()) > EPSILON:
raise Exception("Filament not at 0.0 - Set it to zero using: fil.write(0.)")
if abs(bv.read()) > EPSILON:
raise Exception("Bombardment voltage not at 0.0 - Set it to zero using: bv.write(0.)")
fil.write(I_TARGET_mA)
time.sleep(float(3500)/1000)
bv.write(V_TARGET_V)
time.sleep(float(T_WAIT_ms)/1000)
bv.write(0.0)
time.sleep(float(500)/1000)
fil.write(0.0)