Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.

Commit bb058b9

Browse files
[DEM-943] Changed output marker and sweep initial waiting time.
1 parent 3801e31 commit bb058b9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/notebooks/unfinished/example_UHFLI_measurements.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class HardwareSettings(Instrument):
101101
def __init__(self, name='settings'):
102102
super().__init__(name)
103103
awg_gates = {'P1': (0, 0), 'P2': (0, 1)}
104-
awg_markers = {'m4i_mk': (0, 4, 0)}
104+
awg_markers = {'m4i_mk': (0, 0, 0)}
105105
self.awg_map = {**awg_gates, **awg_markers}
106106

107107
for awg_gate in self.awg_map:
@@ -111,7 +111,7 @@ def __init__(self, name='settings'):
111111
initial_value=1000, label=parameter_label, vals=Numbers(1, 1000))
112112

113113

114-
working_directory = "D:\\Workspace\\TNO\\git\\DEM-943\\qtt\\docs\\notebooks\\unfinished"
114+
working_directory = "<work_directory>\\qtt\\docs\\notebooks\\unfinished"
115115

116116
# Lock-in Amplifier
117117

@@ -141,8 +141,8 @@ def __init__(self, name='settings'):
141141
grouping_1x8 = 2
142142
awg_adapter.instrument.set_channel_grouping(grouping_1x8)
143143

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)
146146

147147
awg_sampling_rate_586KHz = 12
148148
awg_adapter.instrument.awgs_0_time(awg_sampling_rate_586KHz)
@@ -177,7 +177,7 @@ def __init__(self, name='settings'):
177177

178178
signal_input = signal_output
179179

180-
scanjob = scanjob_t()
180+
scanjob = scanjob_t(wait_time_startscan=1)
181181
scanjob.add_sweep(param=stimulus.set_oscillator_frequency(oscillator), start=140e6, end=180e6, step=0.2e6)
182182
scanjob.add_minstrument([scope_reader.acquire_single_sample(demodulator, 'R', partial=True),
183183
scope_reader.acquire_single_sample(demodulator, 'x', partial=True),

0 commit comments

Comments
 (0)