qat.engines.qblox.instrument_base module
- class CompositeInstrument
Bases:
InstrumentMixin
- add(component)
- connect()
- disconnect()
- lookup_by_name(name)
- Return type:
- remove(component)
- class InstrumentMixin
Bases:
ConnectionMixin
Basic APIs through which an instrument must be able to interact with
- collect(*args, **kwargs)
- playback(*args, **kwargs)
- upload(*args, **kwargs)
- class InstrumentModel(**data)
Bases:
BaseModel
Used to parse JSON/CSV entries. An instrument has an id, name, and IP address
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
-
address:
IPvAnyAddress
-
id:
str
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
name:
str
-
address:
- class LeafInstrument(instrument_model)
Bases:
InstrumentMixin