mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-10 08:38:54 +01:00
wip to parse vector of rois at command line
This commit is contained in:
@@ -21,6 +21,7 @@ class Caller {
|
||||
UdpDestination getUdpEntry();
|
||||
int GetLevelAndInsertIntoArgs(std::string levelSeparatedCommand);
|
||||
void WrongNumberOfParameters(size_t expected);
|
||||
std::vector<defs::ROI> parseRoiVector(const std::string &input);
|
||||
|
||||
template <typename V> std::string OutStringHex(const V &value) {
|
||||
if (value.equal())
|
||||
|
||||
@@ -1739,13 +1739,12 @@ readout:
|
||||
PUT:
|
||||
function: startDetectorReadout
|
||||
|
||||
# TODO
|
||||
#rx_clearroi:
|
||||
# inherit_actions: EXECUTE_SET_COMMAND_NOID
|
||||
# help: "\n\tResets Region of interest in receiver. Default is all channels/pixels enabled."
|
||||
# actions:
|
||||
# PUT:
|
||||
# function: clearRxROI
|
||||
rx_clearroi:
|
||||
inherit_actions: EXECUTE_SET_COMMAND_NOID
|
||||
help: "\n\tResets Region of interest in receiver. Default is all channels/pixels enabled."
|
||||
actions:
|
||||
PUT:
|
||||
function: clearRxROI
|
||||
|
||||
################# EXECUTE_SET_COMMAND ########################
|
||||
start:
|
||||
@@ -2593,18 +2592,13 @@ rx_zmqip:
|
||||
PUT:
|
||||
argc: -1
|
||||
|
||||
#TODO
|
||||
#rx_roi:
|
||||
# is_description: true
|
||||
# actions:
|
||||
# GET:
|
||||
# argc: 0
|
||||
# PUT:
|
||||
# args:
|
||||
# - argc: 2
|
||||
# arg_types: [ int, int ]
|
||||
# - argc: 4
|
||||
# arg_types: [ int, int, int, int ]
|
||||
rx_roi:
|
||||
is_description: true
|
||||
actions:
|
||||
GET:
|
||||
argc: 0
|
||||
PUT:
|
||||
argc: -1
|
||||
|
||||
ratecorr:
|
||||
is_description: true
|
||||
|
||||
Reference in New Issue
Block a user