@@ -101,7 +101,7 @@ class HardwareSettings(Instrument):
101
101
def __init__ (self , name = 'settings' ):
102
102
super ().__init__ (name )
103
103
awg_gates = {'P1' : (0 , 0 ), 'P2' : (0 , 1 )}
104
- awg_markers = {'m4i_mk' : (0 , 4 , 0 )}
104
+ awg_markers = {'m4i_mk' : (0 , 0 , 0 )}
105
105
self .awg_map = {** awg_gates , ** awg_markers }
106
106
107
107
for awg_gate in self .awg_map :
@@ -111,7 +111,7 @@ def __init__(self, name='settings'):
111
111
initial_value = 1000 , label = parameter_label , vals = Numbers (1 , 1000 ))
112
112
113
113
114
- working_directory = "D: \\ Workspace \\ TNO \\ git \\ DEM-943 \\ qtt\\ docs\\ notebooks\\ unfinished"
114
+ working_directory = "<work_directory> \\ qtt\\ docs\\ notebooks\\ unfinished"
115
115
116
116
# Lock-in Amplifier
117
117
@@ -141,8 +141,8 @@ def __init__(self, name='settings'):
141
141
grouping_1x8 = 2
142
142
awg_adapter .instrument .set_channel_grouping (grouping_1x8 )
143
143
144
- output4_marker1 = 4
145
- awg_adapter .instrument .triggers_out_4_source ( output4_marker1 )
144
+ output1_marker1 = 4
145
+ awg_adapter .instrument .triggers_out_0_source ( output1_marker1 )
146
146
147
147
awg_sampling_rate_586KHz = 12
148
148
awg_adapter .instrument .awgs_0_time (awg_sampling_rate_586KHz )
@@ -177,7 +177,7 @@ def __init__(self, name='settings'):
177
177
178
178
signal_input = signal_output
179
179
180
- scanjob = scanjob_t ()
180
+ scanjob = scanjob_t (wait_time_startscan = 1 )
181
181
scanjob .add_sweep (param = stimulus .set_oscillator_frequency (oscillator ), start = 140e6 , end = 180e6 , step = 0.2e6 )
182
182
scanjob .add_minstrument ([scope_reader .acquire_single_sample (demodulator , 'R' , partial = True ),
183
183
scope_reader .acquire_single_sample (demodulator , 'x' , partial = True ),
0 commit comments