From 9ea990327fc6fe14dfc805928a1ca07091dd398e Mon Sep 17 00:00:00 2001 From: x07maop Date: Sun, 22 May 2016 03:32:06 +0200 Subject: [PATCH] Script execution --- script/Mn_hyst.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/script/Mn_hyst.py b/script/Mn_hyst.py index fa49949..6753673 100644 --- a/script/Mn_hyst.py +++ b/script/Mn_hyst.py @@ -1,5 +1,5 @@ open_valve() - +''' set_pol_cminus(offset = 1.0) set_file('Mn_hyst_minus') hyst_cont(field_x, 6.8, -6.8, 2.0, [639.75, 637.0]) @@ -15,7 +15,23 @@ hyst_cont(field_x, 6.8, -6.8, 2.0, [641.25, 637.0]) set_pol_cminus(offset = 1.0) set_file('Mn_hyst_minus') hyst_cont(field_x, -6.8, 6.8, 2.0, [641.25, 637.0]) +''' +set_pol_cplus(offset = -1.0) +set_file('Mn_hyst_plus') +hyst_cont(field_x, 6.8, -6.8, 2.0, [639.75, 637.0]) + +set_pol_cminus(offset = 1.0) +set_file('Mn_hyst_minus') +hyst_cont(field_x, -6.8, 6.8, 2.0, [639.75, 637.0]) + +set_pol_cminus(offset = 1.0) +set_file('Mn_hyst_minus') +hyst_cont(field_x, 6.8, -6.8, 2.0, [641.25, 637.0]) + +set_pol_cplus(offset = -1.0) +set_file('Mn_hyst_plus') +hyst_cont(field_x, -6.8, 6.8, 2.0, [641.25, 637.0]) close_valve()