lsst.ts.attcpip#

This package contains code common to Python projects that communicate with the AuxTel LabVIEW TCP/IP servers. Currently the only projects that use this common code are ATMCS and ATPneumatics.

The code is split up into two parts. The first part is common CSC code, which sets up the TCP/IP clients and provides methods for sending commands and for receiving command replies, events and telemetry. The second part is a simulator infrastructure for testing purposes that provides methods for recieving commands and for sending command replies, events and telemetry. Interlaced with all this are common enums and a handler class for tracking issued commands.

Contributing#

lsst.ts.attcpip is developed at lsst-ts/ts_attcpip. You can find Jira issues for this module under the ts_attcpip component.

Python API reference#

lsst.ts.attcpip Package#

Functions#

load_schemas(schema_dir)

Classes#

Ack(value[, names, module, qualname, type, ...])

AtServerSimulator(host, port, log, ...[, ...])

An implementation of OneClientJsonServer that simulates an AT server.

AtSimulator(host, cmd_evt_port, telemetry_port)

Common code for simulating an AT system.

AtTcpipCsc(name, index, config_schema[, ...])

Base Configurable CSC with common code.

CommandIssued(name)

Track the progress of a low-level controller command.

CommonCommand(value[, names, module, ...])

Enum containing all common command names.

CommonCommandArgument(value[, names, ...])

Enum containing all common command arguments.

CommonEvent(value[, names, module, ...])

Enum containing all common event names.

CommonEventArgument(value[, names, module, ...])

Enum containing all common event argument names.

Class Inheritance Diagram#

Inheritance diagram of lsst.ts.attcpip.enums.Ack, lsst.ts.attcpip.at_server_simulator.AtServerSimulator, lsst.ts.attcpip.at_simulator.AtSimulator, lsst.ts.attcpip.csc.AtTcpipCsc, lsst.ts.attcpip.command_issued.CommandIssued, lsst.ts.attcpip.enums.CommonCommand, lsst.ts.attcpip.enums.CommonCommandArgument, lsst.ts.attcpip.enums.CommonEvent, lsst.ts.attcpip.enums.CommonEventArgument

Version History#