FIREQServer#
- class FIREQ_SERVER.fireq_server.FIREQServer(overlay_file: Path = None, host: str = '0.0.0.0', port: int = 5000, auth_token: str = 'fireq', logger: Logger | None = None)[source]#
Bases:
objectTCP server for FIREQ experiments.
Spawns three threads:
a client handler thread, which communicates with the client to receive commands and send info/configuration
an execution thread, which manages the hw and runs commands received from the client
a data streamer, which sends acquisition data back to the client
- start() None[source]#
Start the server and block on the main thread.
Starts the network accept/receiver thread (daemon), then runs the main experiment loop in the current thread. Stops when
stop()is called.