For the following we assume that these lines have been inserted
into ~/.ipython/profile_bluesky/startup/00-start.py
:
import blueskyDESY from bluesky import RunEngine from bluesky.plans import scan from bluesky.plan_stubs import mv RE = RunEngine() RE.subscribe(blueskyDESY.docCallback())
Furthermore, we also assume that the measuremt group has been specified before.
blueskyDESY.setActiveMntGrp({'counters': ['eh_c01', 'eh_c02', 'eh_c03'], 'timers': ['eh_t01'], 'sampleTime': 0.1}