Skip to content
Snippets Groups Projects
Commit 9731e066 authored by Sander Snoo's avatar Sander Snoo
Browse files

Start infinite looping when n_rep > 65535

parent 5092a9f4
No related branches found
No related tags found
No related merge requests found
......@@ -52,10 +52,10 @@ class TektronixSchedule(HardwareSchedule):
for awg in self.awgs:
element_no = 1
awg.set_sqel_trigger_wait(element_no)
if self.awg_is_slave[awg.name]:
if n_repetitions <= 65535:
awg.set_sqel_loopcnt(n_repetitions, element_no)
else:
awg.set_sqel_loopcnt(n_repetitions, element_no)
awg.set_sqel_loopcnt_to_inf(element_no)
awg.run_mode('SEQ')
awg.run()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment