qt3uw / qt3-utils

Data Acquisition for Confocal Microscope and Spin Control Experiments
https://sites.google.com/uw.edu/qt3-lab/projects
BSD 3-Clause "New" or "Revised" License
3 stars 6 forks source link

qt3scan - allow for raster_line_pause setting in position controller object #141

Open gadamc opened 7 months ago

gadamc commented 7 months ago

A user may be need to control the raster_line_pause during a scan. Right now this is hard-coded into controllers here: https://github.com/qt3uw/qt3-utils/blob/73bea2d7ac3c8eb1aca64347d2a55cae3003da1a/src/qt3utils/datagenerators/piezoscanner.py#L23

and here: https://github.com/qt3uw/qt3-utils/blob/1a311c5fedf9d5ded1260a94a0c2926abf1c5a99/src/qt3utils/applications/qt3scan/controller.py#L250

This value should probably be controlled by the position controller objects, such as, https://github.com/qt3uw/qt3-utils/blob/73bea2d7ac3c8eb1aca64347d2a55cae3003da1a/src/qt3utils/applications/controllers/nidaqpiezocontroller.py#L9

The application controller would obtain the raster_line_pause from the position controller.

This would then require the position controller interface to have a new property added, raster_line_pause somewhere here: https://github.com/qt3uw/qt3-utils/blob/73bea2d7ac3c8eb1aca64347d2a55cae3003da1a/src/qt3utils/applications/qt3scan/interface.py#L22