Skip to content

Commit

Permalink
Unconditionally run actions and delay
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Sep 30, 2022
1 parent ed9e189 commit acd52e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qcodes/dataset/dond/do_nd.py
Expand Up @@ -694,9 +694,9 @@ def dond(
for set_event in set_events:
if set_event.should_set:
set_event.parameter(set_event.new_value)
for act in set_event.actions:
act()
time.sleep(set_event.delay)
for act in set_event.actions:
act()
time.sleep(set_event.delay)

results[set_event.parameter] = set_event.new_value

Expand Down

0 comments on commit acd52e4

Please sign in to comment.