Closedown

This commit is contained in:
X11MA
2015-12-05 00:55:35 +01:00
parent e16a86b90e
commit 422c726767
2 changed files with 26 additions and 0 deletions
+3
View File
@@ -132,6 +132,9 @@ time.sleep(1.0)
wait_channel(OTF_DONE, 1, type = 'i')
open_vg10()
open_vg11()
open_vg12()
open_vg13()
for scan_no in range(number_of_scans):
+23
View File
@@ -80,6 +80,29 @@ def close_vg10():
time.sleep(0.1)
caput(VG10_SET, 1)
def open_vg11():
if caget (VG11_GET,'i') != 1:
caput(VG11_SET, 0)
time.sleep(0.1)
caput(VG11_SET, 1)
def close_vg11():
if caget (VG11_GET,'i') == 1:
caput(VG11_SET, 0)
time.sleep(0.1)
caput(VG11_SET, 1)
def open_vg12():
if caget (VG12_GET,'i') != 1:
caput(VG12_SET, 0)
time.sleep(0.1)
caput(VG12_SET, 1)
def close_vg12():
if caget (VG12_GET,'i') == 1:
caput(VG12_SET, 0)
time.sleep(0.1)
caput(VG12_SET, 1)
def open_vg13():
if caget (VG13_GET,'i') != 1: