diff --git a/ZMQ-Message-Reference.md b/ZMQ-Message-Reference.md index c41f5ba..fedd538 100644 --- a/ZMQ-Message-Reference.md +++ b/ZMQ-Message-Reference.md @@ -45,10 +45,37 @@ Reply Messages: ## 'detectorSettings' +Data is a string that corresponds to the name of a detector. For example: +``` + msg = ['detectorSettings', 'Counter0' ] +``` + +Reply Messages: +- `["status","ok"]` +- message from specific detector module with a JSON array, but there doesn't seem to be an implementation yet. + + ## 'updateDetectorSettings' +Data is a string that corresponds to the name of a detector. Data2 is a JSON array with property, value pairs. For example: +``` + msg = ['updateDetectorSettings', 'Counter0', JSON_string ] +``` + +Reply Messages: +- `["status","ok"]` + ## 'estimatedTime' +Data is a JSON scan request (see 'scanRequest' below). For example: +``` + msg = ['estimatedTime', Scan_Request ] +``` + +Reply Messages: +- `["status","ok"]` +- ['estimatedTime', NumberOfSeconds ] + ## 'scanRequest' ## 'abortScan'