You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/learn/scans/learn-by-example.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ from bec_server.scan_server.scans.scan_modifier import scan_hook
54
54
55
55
classAcquire(ScanBase):
56
56
scan_type = ScanType.SOFTWARE_TRIGGERED# (1)!
57
-
scan_name ="_v4_acquire"# (2)!
57
+
scan_name ="acquire"# (2)!
58
58
59
59
gui_config = { # (3)!
60
60
"Scan Parameters": [
@@ -250,7 +250,7 @@ In this case, there is no special cleanup needed.
250
250
251
251
The `acquire` scan is a compact example of the shared scan shape:
252
252
253
-
- the same lifecycle from [Scan Lifecycle](lifecycle.md) appears here unchanged
253
+
- the same lifecycle from [Scan Lifecycle](lifecycle.md){data-preview} appears here unchanged
254
254
- each hook stays small and focused, even though the page now looks at them one by one
255
255
-`prepare_scan` and `scan_core` are the most informative hooks for understanding what this scan actually does
256
256
-`at_each_point` shows how per-acquisition work can be factored out of the main loop
@@ -259,11 +259,11 @@ The `acquire` scan is a compact example of the shared scan shape:
259
259
260
260
## Next Step
261
261
262
-
After this example, the next useful topic is [scan info](scan-info.md), because `acquire`
262
+
After this example, the next useful topic is [scan info](scan-info.md){data-preview}, because `acquire`
263
263
updates `scan_info` in `__init__` and `prepare_scan` and then relies on that shared runtime
264
264
metadata for progress reporting and scan status messages.
265
265
266
-
After `scan info`, continue with [scan actions](scan-actions.md) to see the building blocks used in scans for common operations. Afterwards, [scan components](scan-components.md) show how to combine scan actions into reusable scan building blocks.
266
+
After `scan info`, continue with [scan actions](scan-actions.md){data-preview} to see the building blocks used in scans for common operations. Afterwards, [scan components](scan-components.md){data-preview} show how to combine scan actions into reusable scan building blocks.
0 commit comments