Skip to content
Snippets Groups Projects
Verified Commit 7fc8be23 authored by Tobias Hangleiter's avatar Tobias Hangleiter
Browse files

Default to no delay for finite test time

parent 47acef5b
No related branches found
No related tags found
1 merge request!66Extend simulator module
Pipeline #1640383 waiting for manual action
......@@ -2,9 +2,9 @@
The :meth:`DAQ.acquire` method of DAQs in this module accepts a
``delay`` keyword argument which introduces a delay in between yields
to simulate a finite data acquisition time. If True (default), delays
by the amount of time it would take to actually acquire data with the
given settings; if float delays by the given amount.
to simulate a finite data acquisition time. If True, delays by the
amount of time it would take to actually acquire data with the given
settings; if float delays by the given amount.
Examples
--------
......@@ -58,7 +58,7 @@ def with_delay(meth):
"""Wraps an acquisition generator to accept the *delay* kwarg."""
@wraps(meth)
def wrapped(self, *, delay=True, **settings):
def wrapped(self, *, delay=False, **settings):
skip_delay = settings.pop('_skip_delay', False)
if delay is True:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment