PYME.Acquire.webui package

PYME.Acquire.webui.add_endpoints(cls, prefix, fail_if_no_server=False)
PYME.Acquire.webui.load_template(filename)
PYME.Acquire.webui.set_server(server)

Set the server class (used in conjunction with add_endpoints() to let hardware drivers etc … add endpoints to the server in a backwards compatible way. Such that they a) don’t need a reference to the server and b) this works out to be a no-op for non web-ui instances.

TODO - do this stuff in an InitGUI or similar step instead?

Parameters
server
Returns