Closed prjemian closed 1 year ago
Get inspiration from GUIs, such as #2. Look at Mark Wolfman's GUI. Can we get a look at Bruce Ravel's GUI?
zmq-control-addr
(default: tcp://localhost:60615
)zmq-info-addr
(default: tcp://localhost:60625
)(bluesky_2023_2) prjemian@zap:~/bluesky$ queue-monitor --help
usage: queue-monitor [-h] [--zmq-control-addr ZMQ_CONTROL_ADDR] [--zmq-control ZMQ_CONTROL] [--zmq-info-addr ZMQ_INFO_ADDR]
[--zmq-publish ZMQ_PUBLISH] [--http-server-uri HTTP_SERVER_URI]
BlueSky Queue Monitor
options:
-h, --help show this help message and exit
--zmq-control-addr ZMQ_CONTROL_ADDR
Address of control socket of RE Manager, e.g. tcp://localhost:60615. If the address is passed as a CLI parameter, it
overrides the address specified with QSERVER_ZMQ_CONTROL_ADDRESS environment variable. Default address is used if the
parameter or the environment variable are not specified.
--zmq-control ZMQ_CONTROL
The parameter is deprecated and will be removed. Use --zmq-control-addr instead.
--zmq-info-addr ZMQ_INFO_ADDR
Address of PUB-SUB socket of RE Manager, e.g. 'tcp://localhost:60625'. If the address is passed as a CLI parameter, it
overrides the address specified with QSERVER_ZMQ_INFO_ADDRESS environment variable. Default address is used if the parameter
or the environment variable are not specified.
--zmq-publish ZMQ_PUBLISH
The parameter is deprecated and will be removed. Use --zmq-info-addr instead.
--http-server-uri HTTP_SERVER_URI
Address of HTTP Server, e.g. 'http://localhost:60610'. Activates communication with Queue Server via HTTP server. If the
address is passed as a CLI parameter, it overrides the address specified with QSERVER_HTTP_SERVER_URI environment variable.
Use QSERVER_HTTP_SERVER_API_KEY environment variable to pass an API key for authorization.
Also need a list of the available devices (and possibly the descriptive dictionary from the existing_plans_and_devices.yaml
file)
localhost
), and control (60615) & info (60625) ports from the user. qserver status
).Given the text entry widgets of workstation_name
, control_port
, and info_port
, then would use this configuration to try connecting:
example to get console output (?):
export const getConsoleOutput = async(): Promise<IConsoleOutput> => {
const res = await axiosInstance.get('/console_output');
return res.data;
}
How to connect to QS from web client?
conda install -c conda-forge yarn
works! Try following instructions in the webclient README
How to connect by 0MQ from a web client?
Looks like this is complete. Can this issue be closed?
Need a list of requirements, optionals, wish list.