-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscan_test.py
More file actions
99 lines (79 loc) · 2.74 KB
/
scan_test.py
File metadata and controls
99 lines (79 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
from labscript import start, stop, add_time_marker, AnalogOut, DigitalOut
from labscript_devices.DummyPseudoclock.labscript_devices import DummyPseudoclock
from labscript_devices.DummyIntermediateDevice import DummyIntermediateDevice
from labscript_devices.DummyPseudoclock.labscript_devices import DummyPseudoclock
from labscript_devices.DummyIntermediateDevice import DummyIntermediateDevice
from labscript import *
import sys
from labscriptlib.example_apparatus.connection_table import *
build_connectiontable()
t = 0
add_time_marker(t, "start_scan_iteration", verbose=True)
start()
# IDSCameraUI5240SE.expose("ion_detect", "ions")
# CAEN
sikler1_north.constant(t=t, value=sikler1_north_v)
sikler1_south.constant(t=t, value=sikler1_south_v)
sikler1_east.constant(t=t, value=sikler1_east_v)
sikler1_west.constant(t=t, value=sikler1_west_v)
sikler2_north.constant(t=t, value=sikler2_north_v)
sikler2_south.constant(t=t, value=sikler2_south_v)
sikler2_east.constant(t=t, value=sikler2_east_v)
sikler2_west.constant(t=t, value=sikler2_west_v)
caen_2.constant(t=t, value=caen_2_v)
caen_3.constant(t=t, value=caen_3_v)
caen_4.constant(t=t, value=caen_4_v)
caen_5.constant(t=t, value=caen_5_v)
caen_6.constant(t=t, value=caen_6_v)
caen_7.constant(t=t, value=caen_7_v)
# ch_1_200.constant(t=t, value=11)
# ch_4_200.ramp(t=t, duration=2, initial=20, final=60, samplerate=1)
# ch_5_250.ramp(t=t, duration=2, initial=200, final=222, samplerate=1)
# BS_10_0.constant(t=t, value=10)
# BS_10_1.constant(t=t, value=10)
# BS_10_2.constant(t=t, value=10)
# BS_10_3.constant(t=t, value=10)
# BS_10_4.constant(t=t, value=10)
# BS_10_5.constant(t=t, value=10)
# BS_10_6.constant(t=t, value=10)
# BS_10_7.constant(t=t, value=10)
# BS_10_8.constant(t=t, value=10)
# BS_10_9.constant(t=t, value=10)
# ch_1_250.constant(t=t, value=250)
# ch_4_250.ramp(t=t, duration=5, initial=4, final=10, samplerate=1)
# BS_10_0.constant(t=t, value=1)
# BS_10_1.constant(t=t, value=1)
# BS_10_2.constant(t=t, value=1)
# BS_10_3.constant(t=t, value=1)
# BS_10_4.constant(t=t, value=1)
# BS_10_5.constant(t=t, value=1)
# BS_10_6.constant(t=t, value=1)
# BS_10_7.constant(t=t, value=1)
# BS_10_8.constant(t=t, value=1)
# BS_10_9.constant(t=t, value=5)
# BS 1-8
# BS_18_analog_output_1.constant(t=t, value=6.000)
# BS_18_analog_output_2.constant(t=t, value=6.000)
# BS=34-1a SPEC:
# t += 1
# ao_BS_1.constant(t=t, value=12)
# t += 2
# ao_BS_2.constant(t=t, value=16)
# t += 1
# ao_BS_3.constant(t=t, value=15)
# UM:
# t += 1
# CRES_1.constant(t=t, value=-2)
# t += 2
# CRES_2.constant(t=t, value=-15)
# t += 1
# CRES_5.constant(t=t, value=-22)
# BS=34-1a:
# t += 1
# ao0_bs_norm.constant(t=t, value=12)
# t += 2
# ao1_bs_norm.constant(t=t, value=16)
# t += 1
# ao0_bs_norm.constant(t=t, value=15)
t = t + 0.00001
stop(t)