From cf1ec51c027985161e2975a242db5c2bfc194233 Mon Sep 17 00:00:00 2001 From: x07maop Date: Wed, 19 Oct 2016 03:41:11 +0200 Subject: [PATCH] Script execution --- script/Cr_hyst.py | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 script/Cr_hyst.py diff --git a/script/Cr_hyst.py b/script/Cr_hyst.py new file mode 100644 index 0000000..3e12ecd --- /dev/null +++ b/script/Cr_hyst.py @@ -0,0 +1,35 @@ +open_valve() + +set_pol_cminus(offset = 1.0) +set_file('Cr_hyst_minus') +hyst_cont(field_x, 6.8, -6.8, 2.0, [574.6, 572.0]) + +set_pol_cplus(offset = -1.0) +set_file('Cr_hyst_plus') +hyst_cont(field_x, -6.8, 6.8, 2.0, [574.6, 572.0]) + +set_pol_cplus(offset = -1.0) +set_file('Cr_hyst_plus') +hyst_cont(field_x, 6.8, -6.8, 2.0, [576.49, 572.0]) + +set_pol_cminus(offset = 1.0) +set_file('Cr_hyst_minus') +hyst_cont(field_x, -6.8, 6.8, 2.0, [576.49, 572.0]) + +set_pol_cminus(offset = 1.0) +set_file('Cr_hyst_minus') +hyst_cont(field_x, 6.8, -6.8, 2.0, [576.49, 572.0]) + +set_pol_cplus(offset = -1.0) +set_file('Cr_hyst_plus') +hyst_cont(field_x, -6.8, 6.8, 2.0, [576.49, 572.0]) + +set_pol_cplus(offset = -1.0) +set_file('Cr_hyst_plus') +hyst_cont(field_x, 6.8, -6.8, 2.0, [574.6, 572.0]) + +set_pol_cminus(offset = 1.0) +set_file('Cr_hyst_minus') +hyst_cont(field_x, -6.8, 6.8, 2.0, [574.6, 572.0]) +close_valve() +