diff --git a/bec_testing_plugin/scans/__init__.py b/bec_testing_plugin/scans/__init__.py index 4af42b8..b034a4c 100644 --- a/bec_testing_plugin/scans/__init__.py +++ b/bec_testing_plugin/scans/__init__.py @@ -1,3 +1,4 @@ from .custom_scan import CustomTestingScan +from .device_progress_scan import DeviceProgressScan -__all__ = ["CustomTestingScan"] +__all__ = ["CustomTestingScan", "DeviceProgressScan"] diff --git a/bec_testing_plugin/scans/device_progress_scan.py b/bec_testing_plugin/scans/device_progress_scan.py new file mode 100644 index 0000000..9e04c19 --- /dev/null +++ b/bec_testing_plugin/scans/device_progress_scan.py @@ -0,0 +1,10 @@ +from bec_server.scan_server.scans import Scan + + +class DeviceProgressScan(Scan): + """A scan that simulates device progress updates.""" + + scan_name = "device_progress_grid_scan" + + def scan_report_instructions(self): + yield from self.stubs.scan_report_instruction({"device_progress": ["waveform"]})