Script execution

This commit is contained in:
gac-x04sa
2018-09-26 11:58:37 +02:00
parent 2fdc8f07c5
commit a34cc9bae7

View File

@@ -4,9 +4,13 @@
hkl_pos = hkl_group.take()
start,end,step = 5.0, 6.0, 0.1
for lv in frange(1.0, 15.0, 1.0):
for lv in frange(start,end,step):
print lv, hkl_to_angles(hkl_pos[0], hkl_pos[1], lv) [0]
#lscan(l, current, 1.0, 15.0, 1.0)
start_pos = hkl_to_angles(hkl_pos[0], hkl_pos[1], 1.0) [0]
fourcv.move(start_pos)
lscan(l, current, start,end,step)