Update ZMQ Publisher Reference

2026-06-10 22:27:57 +02:00
parent df62c0cb99
commit 45a48a83eb
+13 -2
@@ -18,6 +18,16 @@ Example:
['beamShutterStatus', 'red']
```
## 'filename'
Indicates where scan data will be saved during the measurement. Follows after a 'scanStarted' message. Depending on the scan archive status pf the scan type, the scan data file may be moved out of the "discard" subdirectory after the scan has finished.
```
['filename', 'Sample_Image_2026-06-10_034.hdf5', '/home/control/LocalData/2026-06-10/discard']
```
## 'focalStatus'
Provides the maximum OSA gap (distance between sample and OSA) that would fit the current FZP focal length and OSA diameter.
@@ -49,7 +59,7 @@ Example:
## 'scanFinished'
These messages are published to indicate that a scan has completed and no further 'scanLineData' will be coming. The data provides info on where the data was saved and a flag that indicates why the scan finished.
These messages are published to indicate that a scan has completed and no further 'scanLineData' will be coming. The data provides info on where the data file was saved/moved to and a flag that indicates why the scan finished. Scan data is typically saved in the 'neXusDiscardSubDirectory' during the scan and then may be moved (depending on the archive status of the scan type) out of this subdirectory.
| Flag Value | Condition |
| ---------- | --------- |
@@ -126,9 +136,10 @@ Example:
## 'scanTypeArchive'
Example:
```
['scanTypeArchive', {'attrActual': '', 'attrNew': ''}]
['scanTypeArchive', {'attrActual': 'archive', 'attrNew': 'locked'}]
```