EigerRequestsCtrl Class Commands
Name
Input type
Output type
Level
Description
State DEV_VOID DEV_STATE OPERATOR This command gets the device state (stored in its device_state data member) and returns it to the caller.
Status DEV_VOID CONST_DEV_STRING OPERATOR This command gets the device status (stored in its device_status data member) and returns it to the caller.
get DEV_STRING DEV_STRING OPERATOR uses requests.get() to query a some value from the Eiger.
Input: json-encoded dictionary containing keys like:
host (IP address), port, api_version ( e.g. 1.8.0),
subsystem (detector, filewriter, monitor),
section (e.g. config, command),
key (e.g. state, trigger_mode), timeout,return_full,
to set Eiger parameter like e.g. state or trigger_mode
Output: json-encoded response of the requests.get() call
put DEV_STRING DEV_STRING OPERATOR Uses requests.out() to set Eiger parameters
Input: json encoded dictionary containing:
host (ID address), port, api_version (e.g. 1.8.0),
subsystem ( detector, filewriter, monitor),
section ( e.g. command, status),
key (e.g. count_time), value, timeout, no_data
Output: json-encoded dictionary containing the response