#%run -i ./script.py import time mono_new.set_target_value(528.0).wait() time.sleep(10) scan.scan1D("DummyAdjustable", 1, 3, 1, 1000, "test") ## doesn't work ##