nspyre.cli
Submodules
Package Contents
Functions
|
Run a command-line interface to allow user interaction with the data server. |
|
Run a command-line interface to allow user interaction with the instrument server. |
|
Start an instrument server and serve a CLI. |
- nspyre.cli.serve_data_server_cli(dataserv)
Run a command-line interface to allow user interaction with the data server.
- Parameters:
dataserv –
DataServer
object.
- nspyre.cli.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.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__
.