Configuration change: Context

This commit is contained in:
gac-x07mb
2022-03-04 14:28:28 +01:00
commit 0defe64bda
105 changed files with 101731 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#Line scan
d = Channel("X07MB-OP2-SAI_08:MEAN", 'd')
set_device_alias(d, "dev1")
def before(position, scan):
caput("X07MB-OP2:SMPL.PROC",1)
cawait ("X07MB-OP2:SMPL-DONE",1, 10000)
def after(record, scan):
pass
setup_plotting(line_plots = [mca_1])
lscan(scan_y, [keith_1, d, mca_1], -10.0, -9.0, 10, latency = 0.01, before_read=before, after_read=after)