sm_bluesky.common.clients#

Members

InstrumentClient

A lightweight, TCP client for interacting with AbstractInstrumentServers.

BlueAPISession

class sm_bluesky.common.clients.InstrumentClient(host: str = '127.0.0.1', port: int = 7891, timeout: float = 2.0)[source]#

A lightweight, TCP client for interacting with AbstractInstrumentServers.

send_payload(command: str, *args: str | int | float) → str[source]#

Sends a command to the server, returns the stripped text message data.