nspyre.cli.inserv
Serves a shell prompt allowing the user runtime control of the instrument server.
Module Contents
Functions
|
Run a command-line interface to allow user interaction with the instrument server. |
|
Start an instrument server and serve a CLI. |
- nspyre.cli.inserv.serve_instrument_server_cli(inserv)
Run a command-line interface to allow user interaction with the instrument server.
- Parameters:
inserv –
InstrumentServer
orInstrumentGateway
object.
- nspyre.cli.inserv.start_instrument_server(drivers=None, inserv_kwargs=None)
Start an instrument server and serve a CLI.
- Parameters:
drivers – A list of dictionaries, where each dictionary contains keyword arguments to the InstrumentServer
add()
method.inserv_kwargs – Keyword arguments to pass to
InstrumentServer.__init__
.