Public Access
- raise instead of silent None for unsupported operands and empty negation - validate before acquiring lock in Accumulation operators (no RLock leak) - Accumulation._copy_provenance helper, ADC_Result._copy_metadata for all result paths - shared _sandbox_stdout_redirect contextmanager for sandboxed scripts - TemperatureMonitor dead code removal (gtk helper, traceback, unused properties) - new unit tests incl. lock-freedom regression test - gitignore sphinx generated doc/_autosummary/ and doc/damaris/
17 lines
387 B
Python
17 lines
387 B
Python
import time
|
|
|
|
def test(i):
|
|
e=Experiment()
|
|
e.ttl_pulse(length=1e-6, value=1)
|
|
e.wait(1e-3)
|
|
e.ttl_pulse(length=1e-6,value=1)
|
|
e.record(samples=1024,frequency=1e6,sensitivity=1)
|
|
e.set_description("variable",i)
|
|
e.set_description("const", "test")
|
|
return e
|
|
|
|
def experiment():
|
|
for i in range(100):
|
|
#sleep(0.1)
|
|
yield test(i)
|
|
synchronize() |