From d9e25580d8421019979d6afb3e7c9b357f263abf Mon Sep 17 00:00:00 2001 From: watts Date: Wed, 12 Aug 2026 17:13:19 +0200 Subject: [PATCH] Update ZMQ Message Reference --- ZMQ-Message-Reference.md | 61 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/ZMQ-Message-Reference.md b/ZMQ-Message-Reference.md index fd1356d..a4ed51a 100644 --- a/ZMQ-Message-Reference.md +++ b/ZMQ-Message-Reference.md @@ -245,6 +245,67 @@ Successful modification of the positioner definition will result in the publicat ## 'modified zonePlate definition' +Changing the parameters for OSAs and zone plates, as well as the size of the OSA gap. All OSAs should be listed under the "OSAs" key, and the one selected for use should include the 'active' key (with a value of 1). All zone plates should be listed under the "zonePlates" key, and the one selected for use should include the 'active' key (with a value of 1). The value of the OSA gap should be given as a float under the key "dOsa" + +Example message +``` +msg = ['modified zonePlate definition', +'{ +"OSAs":[ + { + "name":"OSA 50" + ,"diameter":50.0 + } + ,{ + "name":"OSA 60" + ,"diameter":60.0 + } + ,{ + "name":"OSA 70" + ,"diameter":70.0 + ,"active":1 + } +] +,"zonePlates":[ + { + "name":"ZonePlate B" + ,"zone_material":"Pt" + ,"outermost_zone_width":35.0 + ,"outer_diameter":240.0 + ,"central_stop_diameter":75.0 + ,"b":[ + 0.0 + ,6.875 + ] + } + ,{ + "name":"ZonePlate A" + ,"zone_material":"Pt" + ,"outermost_zone_width":15.0 + ,"outer_diameter":150.0 + ,"central_stop_diameter":75.0 + ,"b":[ + 0.0 + ,1.7949999999999999 + ] + } + ,{ + "name":"ZonePlate C" + ,"zone_material":"Au" + ,"outermost_zone_width":25.0 + ,"outer_diameter":240.0 + ,"central_stop_diameter":75.0 + ,"b":[ + 0.0 + ,4.8209999999999997 + ] + ,"active":1 + } +] +,"dOsa":301.0 +}'] +``` + ## 'zonePlateFocus' ## 'oscilloscopeDefinition'