Private
Public Access
11
1

Update ZMQ Message Reference

2025-08-05 13:34:03 +02:00
parent 2d0cde19d9
commit cd1385dbd6

@@ -103,7 +103,8 @@ Data is a JSON scan request. For example:
}],
'innerRegions': [{'axes': [{'nPoints': 1200,
'trajectories': [{'center': 4282.670215322501,
'range': 12.0, 'step': 0.01,
'range': 12.0,
'step': 0.01,
'positionerName': 'FineY'
}]
},
@@ -185,10 +186,31 @@ Message only needs the header, no data required. For example:
```
msg = ['scanStatus' ]
```
I don't think this is actually used anymore, or is useful, since Pixelator regularly publishes `scanStatus` messages.
Reply Messages:
- `["status","ok"]`
- `["scanStatus", JSON_array]` detailing the current line and pixel, etc.
- `["scanStatus", '{"current":{"innerRegion":1,
"line":3,
"lineRepetition":1,
"outerRegion":1,
"point":582,
"polarization":1,
"remainingTime":"25h 11m 10s",
"time":"00h 01m 01s"
},
"scanType":"Sample Scan",
"status":"running",
"total":{"innerRegion":1,
"line":5001,"lineRepetition":1,
"outerRegion":1,
"point":1000,
"polarization":1,
"time":"25h 08m 40s"
}
}'
]`
## 'moveRequest'