ECLI xmlrpc server
Functions prefixed with server_ are automatically added to the list of remote procedure calls.
Scan callback – scan finished
Scan callback – new scan started
XMLRPC server function: get detector list :return: a list of tuples in the format (detector, pv_info),
where pv_info is a dictionary like {‘spectrum’: ‘spectrum_pv.VAL’}
XMLRPC server function: get scan data :return: the scan data, in list format
XMLRPC server function: get scan information :return: the scan information in a dictionary
The scan key is an integer tag which allows pymca, as the xmlrpc client, to know if the scan has updated. (this is to mimic how pymca’s SPS works) :return: the current scan key
XMLRPC server function: get a variable from the user’s namespace :param var: the variable name :return: the variable’s value
XMLRPC server function: list of variables in the user’s namespace
XMLRPC server function: set a variable in the user’s namespace :param var: the variable name :param value: the value to set :return: the old value (or None)
Scan callback per point – prepares data for pymca
Start the XMLRPC server on the user-configured port
Epics MCA PV information for PyMca
ECLI xmlrpc server
Functions prefixed with server_ are automatically added to the list of remote procedure calls.
Scan callback – scan finished
Scan callback – new scan started
XMLRPC server function: get detector list :return: a list of tuples in the format (detector, pv_info),
where pv_info is a dictionary like {‘spectrum’: ‘spectrum_pv.VAL’}
XMLRPC server function: get scan data :return: the scan data, in list format
XMLRPC server function: get scan information :return: the scan information in a dictionary
The scan key is an integer tag which allows pymca, as the xmlrpc client, to know if the scan has updated. (this is to mimic how pymca’s SPS works) :return: the current scan key
XMLRPC server function: get a variable from the user’s namespace :param var: the variable name :return: the variable’s value
XMLRPC server function: list of variables in the user’s namespace
XMLRPC server function: set a variable in the user’s namespace :param var: the variable name :param value: the value to set :return: the old value (or None)
Scan callback per point – prepares data for pymca
Start the XMLRPC server on the user-configured port