wright-group / yaqc-cmds

A qt-based graphical client for yaq with a focus on coherent multidimensional spectroscopy in the Wright Group.
MIT License
7 stars 4 forks source link

plot: freerun stops at the end of an acquisition #347

Closed ddkohler closed 3 years ago

ddkohler commented 3 years ago

Desired behavior is to resume freerun if the box is checked

ddkohler commented 3 years ago

sensor measure sets loop=False https://github.com/wright-group/yaqc-cmds/blob/231151940caa8479956389244b66eb0a62faacd3/yaqc_cmds/sensors/_sensors.py#L165

acquisition calls measure https://github.com/wright-group/yaqc-cmds/blob/231151940caa8479956389244b66eb0a62faacd3/yaqc_cmds/somatic/acquisition.py#L280

fix is likely just look up freerun state at acquisition finish, i.e.

            for s in yaqc_cmds.sensors.sensors:
                s.loop()
ksunden commented 3 years ago

closed by #357